You are here: Unexpected T_IF « PHP « IT news, forums, messages
Unexpected T_IF

Posted by Ztuni Ztuni on 10/05/89 11:14

I'm experiencing an unexpected T_IF error, and after digging through
miles of code, came up empty. The relevant code, along with the if
statement

Parse error: parse error, unexpected T_IF in
/var/www/html/phpBB2/posting.php on line 562

if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not obtain group data for this
survey', '', __LINE__, __FILE__, $sql);
}
while ( $row = $db->sql_fetchrow($result) )
{
$group_id = $row['group_id'];
$group_name = $row['group_name'];
$group_checked = ( in_array($group_id, $survey_group_ids) ) ?
'checked="checked"' : '';


$template->assign_block_vars('listrow', array(


'S_MARK_ID' => $group_id;
'S_DESIGNATED_GROUP' => $group_checked;

'U_GROUP_NAME' => $group_name);
);
}

any ideas?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация