I know you can\'t directly use PHP variables inside javascript code, but is there a way around it? I need to use these parameter\'s in javascript:
username: \'&l
I'm a little rusty on PHP, but this may work:
//start HTML/Javascript code... echo'var variable = ' . $user_id . '.example.co.uk'; //finish HTML/Javascript here.. ?>