I suggest studying AJAX.
There are also JavaScript libraries out there that make AJAX easy to use. jQuery is one.
webbiedave
2010-04-27 15:11:36
I suggest studying AJAX.
There are also JavaScript libraries out there that make AJAX easy to use. jQuery is one.
Javascript works on the client side, so it is not possible to add php script, however you can use ajax for this purpose, from which u can interact with ur database.
For this u had to make a seperate php script and you can call it through your javascript function, which work instantly without reloading the page