|
Posted by Rik Wasmus on 01/11/08 23:18
On Fri, 11 Jan 2008 23:42:54 +0100, Melih Onveral
<melih.onvural@gmail.com> wrote:
> I am trying to create an edit function. It will grab the data which
> already exists from the item being edited, fill the appropriate text
> fields/drop downs/etc. and then allow the user to change the values
> and resubmit. I don't know how to set the value of form fields from
> PHP. Is this possible? Could someone please link me an example, or
> give me an idea of how this can be accomplished? Thanks,
This would be basic tutorial stuff (usually the existing data is in a
database). Google for PHP + MySQL + form + tutorial, and you'll find
plenty of reading material. Even if the existing data doesn't come from a
database you can use the examples they give you by just substituting the
calls to the database to use your own logic of retrieving/saving.
--
Rik Wasmus
Navigation:
[Reply to this message]
|