Myron Turner skrev:
William Stokes wrote:
Hello,

I need some advice on how to learn Javascript and PHP interaction. Any good tutorials on the web would be most welcome. I particulary need to learn how to pass JS user input/choices to PHP.

My current problem is how to ask user confirmation over his actions on a web form after POST. "Are you sure" type questions and how to pass the user choice back to program make choices with PHP.

Thanks
-Will

For the second question try google with something like "javascript form submit".

For the first question, see:
    http://ca.php.net/manual/en/language.variables.predefined.php
Form data is captured in PHP in a number of different predefined variables accessible from your scripts. This page defines these varibables.

Use AJAX

Link: http://javascript.internet.com/ajax/ajax-navigation.html

is migth be what you are looking for:
http://javascript.internet.com/ajax/check-username-signup.html


The cool thing with AJAX is that it can load pages while viewing the webpage. Without updating it!

check out this chat i made with it:
http://wsd.riddergarn.dk/index.php?p=chat

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to