jesushax Posted June 18, 2008 Share Posted June 18, 2008 hi below is my simple ifstatement... if (!$rstasks["TaskEnd"] == "0000-00-00") { mydate($rstasks["TaskEnd"]); } so if the taskend does not equal 0000-00-00 then do my code, but its not showing any of them :S Link to comment https://forums.phpfreaks.com/topic/110720-solved-if-statment/ Share on other sites More sharing options...
trq Posted June 18, 2008 Share Posted June 18, 2008 if ($rstasks["TaskEnd"] != "0000-00-00") { mydate($rstasks["TaskEnd"]); } Link to comment https://forums.phpfreaks.com/topic/110720-solved-if-statment/#findComment-568046 Share on other sites More sharing options...
jesushax Posted June 18, 2008 Author Share Posted June 18, 2008 no still doesnt work :S and therse only one record that = 0000-00-00 so the rest should be displayed Link to comment https://forums.phpfreaks.com/topic/110720-solved-if-statment/#findComment-568048 Share on other sites More sharing options...
jesushax Posted June 18, 2008 Author Share Posted June 18, 2008 wait i was looking at the wrong page lol it does work cheers Link to comment https://forums.phpfreaks.com/topic/110720-solved-if-statment/#findComment-568051 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.