Hi, I need to search a MySQL table based on a condition that can change at runtime.
Example
======
$condition = CustCode = "$HTTP_SESSION_VARS['logoncustcode']";
<other code>
$queryID = mysql_query("SELECT * FROM CustTariff WHERE " . $condition . "
ORDER BY CustCode");
Will the above work?
Thanks,
Don
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

