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
submitting php variables from html POST method
Moderator: General Moderators
Code: Select all
<form name="Submit1" method="post" action="http://xxx/update.php">
<input type=hidden name=dummy value="<? print "$dummy"; ?>">
<input name="Submit1" type="submit" class="submitbutton" value="Update"></td>-
SomeDeveloper
- Forum Newbie
- Posts: 2
- Joined: Mon Feb 23, 2004 7:08 pm