mysql_fetch..........
| From: | Deependra B. Tandukar | Date: | Mon, 16 Jul 2001 04:40:24 +0000 |
| Subject: | mysql_fetch.......... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-58005@lists.php.net to get a copy of this message | ||
Greetings !
I have a table in mysql:
id item
1 Apple
2 Orange
3 Banana
I displayed all the items in HTML with PHP
<form>
while ($row=mysql_fetch_array($query)) {
$item=$row["item"];
echo "
<table>
<tr><td><input type=text value=$item name=item>
</td>
</tr>
</table>";
};
</form>
Now if I want to capture Banana or any other particular item from the
displayed HTML form, and pass the variable to the next form, how can I do
it?
Looking forward to hearing from you all.
Warm Regards,
DT