[solved] can PHP receive variable outsite form
Posted: Tue Jun 14, 2005 1:58 am
Hi all
I got one PHP + HTML example that make me confuse. I post this code here :
It code try to send variable note to changestar1.php, however, can changestar1.php receive data ?
I got one PHP + HTML example that make me confuse. I post this code here :
Code: Select all
<html>
<body>
<table>
<tr>
<td>Note</td>
<td>Code: Select all
<?php
print("<textarea rows=\"5\" cols = \"40\"");
print("name=\"note\">$note</textarea>");
?>Code: Select all
</td>
</tr>
</table>
<form action="e;changestar1.php"e; method="e;post"e;>Code: Select all
<?php
print("<input type=\"HIDDEN\" name=\"code\"");
print("<value=\"$code\">");
?>Code: Select all
<input type="e;submit"e; value="e;SAVE"e;>
</form>
</body
</html>