Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Date: Sat, 03 Dec 2011 14:45:25 +0100 From: Luuk User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 Newsgroups: comp.lang.php Subject: Re: Edit a record? References: In-Reply-To: X-Enigmail-Version: 1.3.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: Lines: 35 NNTP-Posting-Host: 2001:980:9089:1:216:76ff:fee1:aa6c X-Trace: 1322920201 news.xs4all.nl 6919 [2001:980:9089:1:216:76ff:fee1:aa6c]:40186 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.php:3997 On 03-12-2011 14:28, Charles wrote: > I'm working on an application. I'm trying to implement an update > process that pulls a record out of a MySQL database, updates it, and > puts it back. > > Broken down, let's assume I have a database made up of the fields: > First_name > Last_name > Month_of_birth > Day_of_birth > Year_of_birth > > The steps I'm finding so far are: > > 1) Present a data entry form to enter the values on which the record > selection is based (an HTML form with 5 input fields...this I have). > 1) Query the database for the record (Submit for processing to a PHP > script that opensn the database and submits the values for a SELECT > query). > > =========={this is where I am stuck]============== > > 3) Somehow import those returned values into a form for editting. > 4) Indicate somehow (in the form) which records (if more than one) > need to be returned as updated to the MySQL database. > 5) Somehow post to database > > Anyone have any ideas they'd care to share? show the code you have so far, and specify more exact why 'you are stuck'.... -- Luuk