Hello,
I'm trying to send data with a form in a hidden input field whose value is retrieved from a database.
while ($row = mysql_fetch_array($result)) {
echo 'Value:' . $row['value'] . '<br><br>';
}
How would I store the value in '$row['value']' so it can passed by a form.
I tried this:
<input type="hidden" name="' . $row['value'] . '">
But it doesn't work. It's always empty. I figure I have to store '$row['value']' into a variable first like this:
$row['value'] = $value;
However that doesn't work either. It's still empty.
Your help is much appreciated.![]()







Bookmarks