Question
OT: Help with MySQL/PHP line (SQL syntax)
I have this now -
$colname_rsPassword = $_POST['password'];
$query_rsPassword = sprintf("SELECT contactFName, contactLName,
contactPassword, contactEmail, contactRecord FROM tblcontactdata WHERE
contactPassword = %s", GetSQLValueString($colname_rsPassword, "text"));
How would I change that to include $_POST['LName'] and $_POST['FName'] (as
posted from the form) in the WHERE clause?
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
$colname_rsPassword = $_POST['password'];
$query_rsPassword = sprintf("SELECT contactFName, contactLName,
contactPassword, contactEmail, contactRecord FROM tblcontactdata WHERE
contactPassword = %s", GetSQLValueString($colname_rsPassword, "text"));
How would I change that to include $_POST['LName'] and $_POST['FName'] (as
posted from the form) in the WHERE clause?
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
