Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_php thread: calling a php function from javascript function


Message #1 by "arun" <arun@l...> on Wed, 10 Apr 2002 18:52:55 +0530
> How can i call a php function from a javascript function? button onclick i
> am calling a javascript function from which i need to call a php function
> which updates the database...is that possible? How can i call..?

Hi Arun,

PHP is a server side language.

Javascript is a client side language.

Javascript isn't parsed and active as a scripting language until well after
PHP has finished its job on the server.


nik


  Return to Index