Re: [PHP] php javascript interaction

2007-01-27 Thread Jochem Maas
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.

http://php.net/json
http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html

^^-- note the name! toys.lerdorf.com is a veritable goldmine of
funky info, lots of php magic to be had there.


 
 Thanks
 -Will
 

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



[PHP] php javascript interaction

2007-01-26 Thread William Stokes
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

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



Re: [PHP] php javascript interaction

2007-01-26 Thread Myron Turner

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.


--

_
Myron Turner
http://www.room535.org
http://www.bstatzero.org
http://www.mturner.org/XML_PullParser/

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



Re: [PHP] php javascript interaction

2007-01-26 Thread Scripter47

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