Re: Retrieving Data To Edit
| From: | Torsten Roehr | Date: | Fri, 09 Jul 2004 14:23:47 +0000 |
| Subject: | Re: Retrieving Data To Edit | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-190066@lists.php.net to get a copy of this message | ||
"Harlequin" <michael.mason@arraspeople.co.uk> wrote in message
news:20040709133858.22918.qmail@pb1.pair.com...
> 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]'";
Hi,
please put quotes around your array keys:
$_POST[TXT_UserID] => $_POST['TXT_UserID']
Regards, Torsten
>
> 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...
>
> --
> -----------------------------
> Michael Mason
> Arras People
> www.arraspeople.co.uk
> -----------------------------