[PHP] How to compare between two values?
Hi again.. How to compare between two values, One imported from a mySQL DB and the other grabbed by GET (http://www.sitename.com/test.php?value2=3342g345) Waiting your replies.. regards..
Re: [PHP] How to compare between two values?
* and then SASSINC Internet Solutions - Arabic Department declared Hi again.. How to compare between two values, One imported from a mySQL DB and the other grabbed by GET (http://www.sitename.com/test.php?value2=3342g345) if($myMySQLValue==$_GET['myGetVar']) { do stuff } -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] How to compare between two values?
SASSINC Internet Solutions - Arabic Department wrote: How to compare between two values, One imported from a mySQL DB and the other grabbed by GET (http://www.sitename.com/test.php?value2=3342g345) Waiting your replies.. It is clear that you have not followed Richards advice and downloaded the PHP manual. If you continue to ask questions as basic as this without showing any signs of having read the manual it's likely you won't get an answer. I urge you to get the manual from http://php.net/docs and try to find your answer in there. I would also recommend buying an book that will introduce you to the fundamentals of PHP. There is a list of titles here: http://php.net/books -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] How to compare between two values?
err if ($_GET['value2'] == $DataRecord['Value1']) { // do something } ? - Original Message - From: SASSINC Internet Solutions - Arabic Department [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 16, 2004 2:42 PM Subject: [PHP] How to compare between two values? Hi again.. How to compare between two values, One imported from a mySQL DB and the other grabbed by GET (http://www.sitename.com/test.php?value2=3342g345) Waiting your replies.. regards.. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php