Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/www/www.search.ie/forum/web/includes/ame_bbcode.php(192) : regexp code on line 10
Fatal error: preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Failed evaluating code: ame_substitute(4, "function display_edit_format($id,$table) { $i = 0; $format_array = \"\"; $array_size = 0; $sql1 = mysql_query(\"SELECT format FROM \".$table.\" WHERE id=\".$id.\"\"
; while ($row1 = mysql_fetch_array($sql1)) { $i = 0; $format_array = $row1[\'format\']; $array_size = sizeof($format_array); } $sql2 = mysql_query(\"SELECT id,description FROM review_formats\"
; while ($row2 = mysql_fetch_array($sql2)) { echo\'<input type=\"checkbox\" name=\"format[]\" value=\";\'.$row2[\'id\'].\'|\" class=\"form\"\'; for($i = 0;$i < $array_size;$i++) { if($row2[\'id\'] == $format_array[$i]) { echo\' checked\'; } } echo\'>\'.$row2[\'description\'].\' in /home/www/www.search.ie/forum/web/includes/ame_bbcode.php on line 192