Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-23-2006, 10:22 PM   PM User | #1
losse
Regular Coder

 
Join Date: Mar 2005
Posts: 240
Thanks: 1
Thanked 0 Times in 0 Posts
losse is an unknown quantity at this point
Parse Error?

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 Code:
<?php echo "$_SESSION['product']."?>
\

Did I screw something up?
losse is offline   Reply With Quote
Old 06-23-2006, 10:27 PM   PM User | #2
Kid Charming
Regular Coder

 
Join Date: Jun 2005
Posts: 804
Thanks: 0
Thanked 0 Times in 0 Posts
Kid Charming is an unknown quantity at this point
Remove the double-quotes and period.
Kid Charming is offline   Reply With Quote
Old 06-23-2006, 10:29 PM   PM User | #3
losse
Regular Coder

 
Join Date: Mar 2005
Posts: 240
Thanks: 1
Thanked 0 Times in 0 Posts
losse is an unknown quantity at this point
Thanks Kid!
It worked... Diddn't even see that... I cut and paste that from another series of code I had.
losse is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:07 PM.


Advertisement
Log in to turn off these ads.