Sorry for a stupid question.
I cannot understand how can I get parameters'
names and values from the URL string
(... /myPage.html?param1=xxxx¶m2=yyyy¶m3=zzzz)
using myPage' s PHP and/or JavaScript code.
:sad:
Thanks!
Leo
Moderators: macek, egami, gesf

leo wrote:Sorry for a stupid question.
I cannot understand how can I get parameters'
names and values from the URL string
(... /myPage.html?param1=xxxx¶m2=yyyy¶m3=zzzz)
using myPage' s PHP and/or JavaScript code.
:sad:
Thanks!
Leo

<form name="f" method="post" action="myPage.html">
<input name="param1" value="xxxx" type="text">
<input name="param2" value="yyyy" type="text">
<input name="param3" value="zzzz" type="text">
<input name="submit" value="Send" type="submit">
</form>
Then you´ll 'get' them with:
$_POST['param1'] equal to 'xxxx'
$_POST['param2'] equal to 'yyyy'
$_POST['param3'] equal to 'zzzz'

Users browsing this forum: No registered users and 1 guest