Jump to content
php.lv forumi

sessijas mainīgā izmantošana


kristapuciits

Recommended Posts

Hi, man šeit ar šo php scripta rindiņu ir problēma.

$sql = mysql_query(" SELECT lvl FROM $tbl_name WHERE nick = $_SESSION['nick'] ");

Viņš raksta: Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/a4285411/public_html/spele.php on line 29

 

Ko tas nozīmē, un ko man darīt? Paldies jau iepriekš! :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...