submitting php variables from html POST method
Posted: Mon Feb 23, 2004 5:08 pm
I would like to ask if it is possible to get the a php variable (in this case $dummy) to be submitted from html to some other php code? (value=????) with/without echoing html??
...
<?php
$dummy="checkthisstuff";
?>
... som html ...
...
<form name="Submit1" method="post" action="http://xxx/update.php">
<input type=hidden name=dummy value=???????>
<input name="Submit1" type="submit" class="submitbutton" value="Update"></td>
...
And how would that be possible if I were to submit an (probably mutidimensional) array instead of $dummy?
I need to process/handle the array ingredients and post them back on the site of origin.
Serap
...
<?php
$dummy="checkthisstuff";
?>
... som html ...
...
<form name="Submit1" method="post" action="http://xxx/update.php">
<input type=hidden name=dummy value=???????>
<input name="Submit1" type="submit" class="submitbutton" value="Update"></td>
...
And how would that be possible if I were to submit an (probably mutidimensional) array instead of $dummy?
I need to process/handle the array ingredients and post them back on the site of origin.
Serap