william6789
Technical User
Hi,
I am a PHP beginner. If I want to pass parameter between HTMl to PHP, which function should I use? For instance, if I want to get a parameter value from PHP in HTML, which function should I use? If HTMl want to pass a parameter to PHP, which function shoud I use? If PHP want to retrive the parameter value passed by HTMl, how can I do it? vice versa, if PHP want to send a parameter to HTML, what should I use? all aboves are based on register_globals=off
I am a little confusing for usage of $http_get_vars and $http_post_vars? could someboby give me some comments or examples of using it?
By the way, which one is better for programing PHP and MySQl, shorter type(<?) or loger type(<?PHP>)?
Thanks in advance.
William
I am a PHP beginner. If I want to pass parameter between HTMl to PHP, which function should I use? For instance, if I want to get a parameter value from PHP in HTML, which function should I use? If HTMl want to pass a parameter to PHP, which function shoud I use? If PHP want to retrive the parameter value passed by HTMl, how can I do it? vice versa, if PHP want to send a parameter to HTML, what should I use? all aboves are based on register_globals=off
I am a little confusing for usage of $http_get_vars and $http_post_vars? could someboby give me some comments or examples of using it?
By the way, which one is better for programing PHP and MySQl, shorter type(<?) or loger type(<?PHP>)?
Thanks in advance.
William