Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #3997
| Date | 2011-12-03 14:45 +0100 |
|---|---|
| From | Luuk <Luuk@invalid.lan> |
| Newsgroups | comp.lang.php |
| Subject | Re: Edit a record? |
| References | <b543ef1a-9d25-4146-bee2-0f66ce61b364@v29g2000yqv.googlegroups.com> |
| Message-ID | <folpq8-tf9.ln1@luuk.invalid.lan> (permalink) |
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
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Edit a record? Charles <cchamb2@gmail.com> - 2011-12-03 05:28 -0800
Re: Edit a record? Luuk <Luuk@invalid.lan> - 2011-12-03 14:45 +0100
Re: Edit a record? Denis McMahon <denismfmcmahon@gmail.com> - 2011-12-03 14:15 +0000
Re: Edit a record? "Beauregard T. Shagnasty" <a.nony.mous@example.invalid> - 2011-12-03 18:57 +0000
Re: Edit a record? Arno Welzel <usenet@arnowelzel.de> - 2011-12-04 14:54 +0100
Re: Edit a record? Dennis <nobody@nowhere.invalid> - 2011-12-04 09:14 -0500
Re: Edit a record? Charles <cchamb2@gmail.com> - 2011-12-10 05:02 -0800
Re: Edit a record? The Natural Philosopher <tnp@invalid.invalid> - 2011-12-10 19:22 +0000
csiph-web