View Single Post
Old 06-11-2008, 11:11 AM   · #10
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
Originally Posted by rafaelrls
Man, first clean the code (correct the remarks). Them you should see an error report more acurate.


I tried both way as below and replacing // instead of + but the error is same
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));
    }

I'm not a coder and I couldn't catch the coder who created this. Any help will be highly apreciated.


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


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