spyke01 Posted July 21, 2006 Share Posted July 21, 2006 ok i trying to figure out what the guy on the project before me did, some stuff was pretty good, and others....well I probally shouldnt even mention, im trying to figure out what hes doing with his sql statement, and i came across this in the php[code] $expire_days = $qr['expire_days']; $exp_date = date("Ymd",strtotime ("+$expire_days day",mktime(0,0,0,substr($qr['datestamp'],4,2),substr($qr['datestamp'],6,2),substr($qr['datestamp'],0,4)))); if($exp_date <> date("Ymd")){[/code]im wondering what the <> does, anyone know, when i try it on php's site it redirects me to Hyperwave Functions, if i use their "all php.net sites" search, it throws an error, so does google Quote Link to comment https://forums.phpfreaks.com/topic/15249-quick-question-about/ Share on other sites More sharing options...
cmgmyr Posted July 21, 2006 Share Posted July 21, 2006 I believe it is "not equal to" try replacing it with != and see if you get the same result.-Chris Quote Link to comment https://forums.phpfreaks.com/topic/15249-quick-question-about/#findComment-61617 Share on other sites More sharing options...
cmgmyr Posted July 21, 2006 Share Posted July 21, 2006 Yeah, I was right.Check this out:http://www.zend.com/manual/language.operators.comparison.php Quote Link to comment https://forums.phpfreaks.com/topic/15249-quick-question-about/#findComment-61619 Share on other sites More sharing options...
spyke01 Posted July 21, 2006 Author Share Posted July 21, 2006 thanks mate, im off to kill this guy Quote Link to comment https://forums.phpfreaks.com/topic/15249-quick-question-about/#findComment-61620 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.