Jump to content

session variable help


imarockstar

Recommended Posts

I am trying to pull data from the db using this statement ...

 

(line 44 reads )

$result = mysql_query("select * from jobs where recid = '. $_SESSION['recid']' ");

 

 

this is my error :

 

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/franklin/public_html/sites/dwf/admin_jobs_view.php on line 44

Link to comment
https://forums.phpfreaks.com/topic/120761-session-variable-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.