Unexpected T_IF

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux