using ; in a php echo<

Here's the problem

echo 'apl['.$id.'] = new Array(65,"");';

I need it to echo

apl['.$id.'] = new Array(65,"");

how do i do it?You could try putting a \ in front of the semi-colon. That's how you echo quotes inside quotes, so I would assume it would work for a semi-colon.not sure why but take it out of php and run it in html. so that way php will not parse it.when i put the slash infront of it i get.

apl[0] = new Array(65,"")\;

what i want is

apl[0] = new Array(65,"");

... shot scout! it worked :P
 
Back
Top