View Full Version : Parse Error?

06-23-2006, 10:22 PM
Hi there
Just wondering what's wrong with this??

I'm getting this error:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /yadayada/session4.php on line 31

This is line 31:

<?php echo "$_SESSION['product']."?>\

Did I screw something up?

Kid Charming
06-23-2006, 10:27 PM
Remove the double-quotes and period.

06-23-2006, 10:29 PM
Thanks Kid!
It worked... Diddn't even see that... I cut and paste that from another series of code I had.