Hi,
For some reason I get the below error. Can someone find where this is going wrong?
Parse error: syntax error, unexpected T_IF in /home/www/mydomain(.)com/page_search.php on line 8
Here is the code
Thanks
For some reason I get the below error. Can someone find where this is going wrong?
Parse error: syntax error, unexpected T_IF in /home/www/mydomain(.)com/page_search.php on line 8
Here is the code
PHP:
<?php
+ // We urlencoded the whole search string so we need to
+ // urldecode and convert it back to utf-8
+ $id = $id === 0 ? '' : utf8_encode(urldecode($id));
+
if ($id != '' && !strstr($id, '|'))
{
$keywords = $db->real_escape_string(trim($id));
}






