[PHP] Re: Retrieving Data To Edit

2004-07-09 Thread Torsten Roehr
Harlequin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] 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

[PHP] Re: Retrieving Data To Edit

2004-07-09 Thread Harlequin
I'm getting closer...! I SELECT: $sql = SELECT UserFirstName FROM RegisteredMembers WHERE UserID='$_POST[TXT_UserID]'; $result5 = mysql_query($sql) or die (error: couldn't select UserID from database. Please e-mail: [EMAIL PROTECTED] with this error message.); while($row =

RE: [PHP] Re: Retrieving Data To Edit

2004-07-09 Thread Jay Blanchard
[snip] $sql = SELECT UserFirstName FROM RegisteredMembers WHERE UserID='$_POST[TXT_UserID]'; [/snip] please change $sql = SELECT UserFirstName FROM RegisteredMembers WHERE UserID='$_POST[TXT_UserID]'; to the proper syntax of $sql = SELECT UserFirstName FROM RegisteredMembers WHERE UserID=' .

[PHP] Re: Retrieving Data To Edit

2004-07-09 Thread Daniel Kullik
Harlequin wrote: 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.

Re: [PHP] Re: Retrieving Data To Edit

2004-07-09 Thread Matthew Sims
I'm getting closer...! I SELECT: $sql = SELECT UserFirstName FROM RegisteredMembers WHERE UserID='$_POST[TXT_UserID]'; $result5 = mysql_query($sql) or die (error: couldn't select UserID from database. Please e-mail: [EMAIL PROTECTED] with this error message.); while($row =