Forum Moderators: open

Message Too Old, No Replies

Javascript execute php-script and return variable value

Script to find name of user from database

         

kingoslo

10:31 pm on Jul 16, 2009 (gmt 0)

10+ Year Member



Hello, I have a database with just under 10,000 users and their details.

Is it possible to make a javascript that:

- onBlur calls a php-script that makes a mysql_query and returns the value from the php script back into the same window dynamically without having to refresh the page?

Thanks! :)

And I am new to this community, some friends recommended that I should sign up! :)

g1smd

10:35 pm on Jul 16, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



You'll need AJAX for that. You're in the right forum!

Have any of the prior posts got any clues or examples that can help?