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

unexpected T_ENCAPSED_AND_WHITESPACE

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

Returning this error when I debug:

Code:
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:

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

Featured Marketplace Scripts (view more)

Reply

Bookmarks


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 04:17 AM
PHP Error; Parse error: syntax error, unexpected '' .... rysaunders PHP 1 08-17-12 06:26 AM
Unexpected headache from unexpected "T String" dcshoeco1 PHP 4 09-29-06 03:36 PM
Parse error: syntax error, unexpected ';', expecting T_OLD_FUNCTION or T_FUNCTION or Dr. Forensics PHP 3 09-13-06 07:21 AM
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' Dr. Forensics PHP 3 07-15-06 04:54 PM


All times are GMT -5. The time now is 07:05 PM.
vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.