Re: Retrieving Data To Edit

From: Date: Fri, 09 Jul 2004 14:49:30 +0000
Subject: Re: Retrieving Data To Edit
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-190068@lists.php.net to get a copy of this message
Yes and thanks very much for the post. I've been trying to use some of the examples on that site but just can't seem to get it to work right. I've posted a reply to my own thread "below" I'd really appreciate any input you can provide. -- ----------------------------- Michael Mason Arras People www.arraspeople.co.uk ----------------------------- "Jay Blanchard" <jay.blanchard@niicommunications.com> wrote in message news:C8F323573C030A448F3E5A2B6FE2070B035226C3@nemesis... [snip] This is really confusing and I'm sure very simple to achieve. I already have values selected that I want to open and edit: $sql = "SELECT * FROM RegisteredMembers WHERE UserID='$_POST[TXT_UserID]'"; I basically want to recall these values on screen for the user to edit themselves. Once I've achieved that I'm assuming that I simply use an INSERT command but need to achieve the first step first of calling the data up... [/snip] Have you looked at any of the tutorials yet? A basic tutorial you will be able to walk through in about an hour. You would want to use an UPDATE for edited items, INSERT is for new items. http://hotwired.lycos.com/webmonkey/programming/php/tutorials/tutorial4. html

« previous php.general (#190068) next »