|
Posted by Hugh Janus on 10/09/06 06:28
"Colin Fine" <news@kindness.demon.co.uk> wrote in message
news:egam40$lfp$3$8302bc10@news.demon.co.uk...
> Chenky wrote:
>> Sorry, on second thought you should be able to utilise the database
>> cache of cities (if that's what you mean) but I have never connected to
>> a database using javascript and I am unsure if that is possible.
>>
>> If not, you'll have to cnnect to the database using PHP (if u don't
>> know how I can show you) and print the data into an array or variable
>> of some kind. Then continue with my previous suggestion.
>>
>>
>> Regards,
>> Josh
>>
>
> Not unless you use AJAX. Javascript is running on the user's machine, and
> knows nothing of the database.
>
> Colin
Hey, do you have any examples I can look at for AJAX and PHP in a dropdown
list?
Thanks
BW
Navigation:
[Reply to this message]
|