Current location: Hot Scripts Forums » Programming Languages » PHP » Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE o

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE o

 
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 11-06-09, 04:45 AM
themarkness themarkness is offline
New Member
 
Join Date: Nov 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE o

Hi,

I am new to PHP, but was hoping for help with the following error message. I think the line of code is from the following:
PHP Code:
    if ($docs_exclus$docs_exclus "AND l.id_document NOT IN ($docs_exclus) ";
    } else 
$docs_exclus '';

    
//// Images sans documents
    
$images_liees spip_query("SELECT docs.id_document FROM spip_documents AS docs, spip_documents_".$type."s AS l "."WHERE l.id_".$type."=$id AND l.id_document=docs.id_document ".$docs_exclus."AND docs.mode='vignette' ORDER BY docs.id_document");

    
$ret .= "\n<p></p><div id='liste_images'>"
Any help would be appreciated.

Mark

Last edited by wirehopper; 11-06-09 at 07:08 AM. Reason: PHP tags
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
 

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: parse error, expecting `T_STRING' or `T_VARIABLE' or `'{'' or `'$'' .. Sheen PHP 3 06-21-09 08:05 PM
PHP Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRIN aprogrammer PHP 19 07-27-08 11:02 AM
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' Dr. Forensics PHP 3 07-15-06 04:54 PM
parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting '}' unlisted80 PHP 8 07-05-06 05:28 PM
Parse error: parse error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' HELP stormshadow PHP 2 06-27-06 10:27 AM


All times are GMT -5. The time now is 06:56 AM.
vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.