Forum Moderators: coopster

Message Too Old, No Replies

Edit flat file database

         

music_man

11:20 pm on Jan 26, 2006 (gmt 0)

10+ Year Member



Hi

I am looking to edit a record set in a flat file database.

The user clicks on a link with an id to the page events_edit.php. I am trying to have it so that it can get all the information related to that id and then I can put it into the value="" field in the html.

I Will then have to work out how to make it update.

Any ideas?

[edited by: coopster at 6:06 pm (utc) on Jan. 30, 2006]
[edit reason] removed unnecessary code [/edit]

coopster

6:10 pm on Jan 30, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



There is a thread in our PHP Forum Library [webmasterworld.com] that describes the Basics of extracting data from MySQL [webmasterworld.com]. All you would need to do is pass your script the unique id in the link in order to retrieve the correct row from your table of data.