All I'm trying to do is pass a value to a page from a link. First, here
is the page with the link.
<HTML>
<HEAD></HEAD>
<BODY>
<FORM action=receiveP ost.php method=POST>
<a href="receivePo st.php?abc=snaz zi&def=flattene d">click for amazing
results and happiness at least through the weekend.</a>
<BR><BR><inpu t type=text name=def>
<BR><BR><inpu t type=submit value='push me'>
</FORM>
</BODY>
</HTML>
If you want to copy the above page, name it sendPost.htm
Next, the page that receives and *SHOULD* display the results. Either
it's not receiving or it's not displaying. Either way, I cannot get a
value for abc. The text box is there just to see if I could pass data
the way that I have experience with.
<?php
echo "<HTML>";
echo "<HEAD></HEAD>";
echo "<BODY>";
echo "abc is $_POST[abc]";
echo "<BR>def is $_POST[def]";
echo "<BR><BR><a href='sendPost. htm'>go back</a>";
echo "</BODY>";
echo "</HTML>";
?>
this file should be named receivePost.php
Thank you in advance, o learned and generous and patient lot that thou art.
Jeff Sandler
is the page with the link.
<HTML>
<HEAD></HEAD>
<BODY>
<FORM action=receiveP ost.php method=POST>
<a href="receivePo st.php?abc=snaz zi&def=flattene d">click for amazing
results and happiness at least through the weekend.</a>
<BR><BR><inpu t type=text name=def>
<BR><BR><inpu t type=submit value='push me'>
</FORM>
</BODY>
</HTML>
If you want to copy the above page, name it sendPost.htm
Next, the page that receives and *SHOULD* display the results. Either
it's not receiving or it's not displaying. Either way, I cannot get a
value for abc. The text box is there just to see if I could pass data
the way that I have experience with.
<?php
echo "<HTML>";
echo "<HEAD></HEAD>";
echo "<BODY>";
echo "abc is $_POST[abc]";
echo "<BR>def is $_POST[def]";
echo "<BR><BR><a href='sendPost. htm'>go back</a>";
echo "</BODY>";
echo "</HTML>";
?>
this file should be named receivePost.php
Thank you in advance, o learned and generous and patient lot that thou art.
Jeff Sandler
Comment