If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > PHP > Parse error: syntax error, unexpected HELP!

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-01-10, 11:58
peaky peaky is offline
Registered User
 
Join Date: Apr 2010
Posts: 1
Parse error: syntax error, unexpected HELP!

Hi,

I have the following error on my forum when i try to access it. I had just followed a MOD that didn't work properly and when putting the code back i must have done something wrong, see below:

Parse error: syntax error, unexpected T_DOUBLE_ARROW in /home/protein1/public_html/forum/includes/functions.php on line 2597

Below is the code with the error, any help would be greatly recieved:

$db->sql_query($sql);
$template->assign_vars(array(
'S_CONFIRM_CODE' => true,
'CONFIRM_ID' => $confirm_id,
'CONFIRM_IMAGE' => '<img src="' . append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=confirm&amp;id=' . $confirm_id . '&amp;type=' . CONFIRM_LOGIN) . '" alt="" title="" />',
$confirm_id . '&amp;type=' . CONFIRM_LOGIN) . '" alt="" title="" />',

Thanks,
Reply With Quote
  #2 (permalink)  
Old 08-03-10, 07:02
Andrew Rose Andrew Rose is offline
Registered User
 
Join Date: Jul 2010
Posts: 34
The last line looks like a mistaken paste from the line before.
Reply With Quote
Reply

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