Show the info to update depending on the selection
| From: | Miguel Br�s | Date: | Tue, 11 Feb 2003 18:03:12 +0000 |
| Subject: | Show the info to update depending on the selection | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-135217@lists.php.net to get a copy of this message | ||
Hi,
I have a page that is intendend to update a table field on DB
i have a drop down menu wich displays all the position fields available on
db and a text area where i will insert the new data.
now the problem:
I'm using the query SELECT * FROM table WHERE position = $position
the $position is the choosen option from the drop down menu.
then have echo "<textarea>$functions</textarea>" where it will show to me
the present data available on DB
after all this, i have another query
UPDATE table SET functions = $functions WHERE position = $position
All is ok and working except the fact that he doesn't displays $functions
when selecting a option from the drop down menu?
Any help out there?
Miguel