Current location: Hot Scripts Forums » Programming Languages » PHP » unexpected T_ENCAPSED_AND_WHITESPACE


  #1 (permalink)  
New Member
Join Date: Feb 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

Returning this error when I debug:

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/content/00/10396400/html/create.php on line 34
Here is line 34:

    	$query = "select * from Players where last_ip = '".$_SERVER['REMOTE_ADDR']."' and pstatus = 0";
Reply With Quote

Featured Marketplace Scripts (view more)



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Parse error: syntax error, unexpected '=' garyh PHP 2 11-27-12 03:17 AM
PHP Error; Parse error: syntax error, unexpected '' .... rysaunders PHP 1 08-17-12 05:26 AM
Unexpected headache from unexpected "T String" dcshoeco1 PHP 4 09-29-06 02:36 PM
Parse error: syntax error, unexpected ';', expecting T_OLD_FUNCTION or T_FUNCTION or Dr. Forensics PHP 3 09-13-06 06:21 AM
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' Dr. Forensics PHP 3 07-15-06 03:54 PM

All times are GMT -5. The time now is 08:40 AM.
vBulletin® Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.