View Single Post
Old 06-10-2008, 03:07 PM   · #1
Amma
NamePros Regular
 
Amma's Avatar
 
Trader Rating: (23)
Join Date: Jul 2006
Posts: 525
NP$: 52.50 (Donate)
Amma is just really niceAmma is just really niceAmma is just really niceAmma is just really nice
Parse error: syntax error, unexpected T_IF in

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
PHP Code:
<?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));
    }

Thanks


Please register or log-in into NamePros to hide ads
Amma is offline   Reply With Quote
Site Sponsors
http://www.mobisitetrader.com/ Website Header Design Traffic Down Under
Advertise your business at NamePros
All times are GMT -7. The time now is 04:51 AM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.