GIDForums  

Go Back   GIDForums > Computer Programming Forums > MySQL / PHP Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 24-Nov-2007, 01:08
mds8000 mds8000 is offline
New Member
 
Join Date: Nov 2007
Posts: 1
mds8000 is on a distinguished road

Parse error: parse error, unexpected T_STRING in /lib/link.class.php on line 1194


hi,
i'm getting this parse error.
PHP Code:

$form[$i] = $this->autogenerate_form_text;
        }

        // preserve _remove & _upload vars
        $tpl->assign("$fields[$i]_upload", "<% $fields[$i]_upload%>"); //this s d line 1194
        $tpl->assign("$fields[$i]_remove", "<% $fields[$i]_remove%>");
        $form[$i] = str_replace('<% $field_name%>', $fields[$i], $form[$i]); 



help me...
  #2  
Old 26-Nov-2007, 06:35
TurboPT's Avatar
TurboPT TurboPT is offline
Regular Member
 
Join Date: Feb 2006
Location: Atlanta, GA
Posts: 926
TurboPT is a jewel in the roughTurboPT is a jewel in the roughTurboPT is a jewel in the rough

Re: Parse error: parse error, unexpected T_STRING in /lib/link.class.php on line 1194


The problem with 'parse errors' is that it gives the most approximate location that it thinks the problem lies [it's not always at the exact location]. So although that line appears fine, the problem might actually exist a line [or possibly several more] before there.

So check several lines before that point -- all brackets, parenthesis, etc., and if it still not noticeable, then post more code from that area.
__________________
Use the force...read the source!!
WYCIWYG -- what you code is what you get!
 
 

Recent GIDBlogToyota - 2008 July Promotion by Nihal

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
burning problems PLEASE PLEASE HELP kelticeire Computer Hardware Forum 4 01-Dec-2006 15:39
getting an error while compiling and running using different IDE. jaro C Programming Language 0 25-Aug-2006 09:14
CD burner wont burn!! robertli55 Computer Hardware Forum 1 18-Jun-2004 10:53
Yet another CD burner problem: Lite-On LSC-24082K Erwin Computer Hardware Forum 1 22-May-2004 11:28
CD Buring Failed skanth2000 Computer Hardware Forum 1 15-Nov-2003 03:52

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 03:41.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.