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
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 =
[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=' .
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.
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 =
5 matches
Mail list logo