Hello: I've searched over the forums and havn't found what I'm looking for. I need some help here knowing exactly the $_POST function works.
I need a little example where I just post any variable and see it on my address bar. Can anyone help me with that?
Hope I'm not asking for to much.
Thanks in advance for anyone who helps..
I know I can post them this way
$name="myname";
echo '<A href="thispage.php?'.$name.'">HOME</A>';
But I would like to know how with $_POST
$POST is only used when you are posting a form, in the method you used, you would use $GET
Thanks, then no chances of doing it that way. I was wrong thinking I could.
Thanks for the info.
if you do this on one page, let's say mypage.php
<? $name="stolzyboy"; ?> <a href="thispage.php?nametosend="<? echo $name; ?>">click here</a>
then on thispage.php, you can do this
<? echo $_GET['nametosend']; //that will get you stolzyboy ?>