View Single Post
Old 07-30-2009, 08:43 PM   #2 (permalink)
buildakicker
The Acquainted
 
buildakicker's Avatar
 
Join Date: Jan 2008
Posts: 119
Thanks: 21
buildakicker is on a distinguished road
Smile

Hi,

Did you update the PHP file?

PHP Code:
$query $db->query("SELECT value FROM countries WHERE value LIKE ‘$queryString%’ LIMIT 10"); 
to

PHP Code:
$query $db->query("SELECT value,id FROM countries WHERE value LIKE ‘$queryString%’ LIMIT 10"); 
Then it looks like you need to update this part to:
PHP Code:
echo &#8216;<li onclick="fill(’‘.$result->value.’‘);">’.$result->value.‘</li>’;
            

to something with ID in it. I am not sure how you are making it work.

Does that helP?

MODNOTE: please use tags that are meant for php. Thank you,
__________________
SkiLeases.com

Last edited by codefreek : 07-31-2009 at 01:31 PM. Reason: PHP tags added - please read http://www.talkphp.com/lounge/4563-prettifying-pasted-code-talkphp.html
buildakicker is offline  
Reply With Quote
The Following User Says Thank You to buildakicker For This Useful Post:
gillweb (07-31-2009)