Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #3997

Re: Edit a record?

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 <Luuk@invalid.lan>
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 <b543ef1a-9d25-4146-bee2-0f66ce61b364@v29g2000yqv.googlegroups.com>
In-Reply-To <b543ef1a-9d25-4146-bee2-0f66ce61b364@v29g2000yqv.googlegroups.com>
X-Enigmail-Version 1.3.3
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
Message-ID <folpq8-tf9.ln1@luuk.invalid.lan> (permalink)
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

Show key headers only | View raw


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


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