blueman378 Posted February 9, 2008 Share Posted February 9, 2008 whats the corect thing for this, if (!$stop = "true") { } Link to comment https://forums.phpfreaks.com/topic/90185-solved-really-really-simple/ Share on other sites More sharing options...
Dorac Posted February 9, 2008 Share Posted February 9, 2008 if (!stop == "true") { } Link to comment https://forums.phpfreaks.com/topic/90185-solved-really-really-simple/#findComment-462470 Share on other sites More sharing options...
shedokan Posted February 9, 2008 Share Posted February 9, 2008 if ($stop != "true") { } because !$stop checks if it's set Link to comment https://forums.phpfreaks.com/topic/90185-solved-really-really-simple/#findComment-462474 Share on other sites More sharing options...
trq Posted February 9, 2008 Share Posted February 9, 2008 You should be using booleens instead of the string "true". Then it would simply be... <?php if (!$stop) { ?> Link to comment https://forums.phpfreaks.com/topic/90185-solved-really-really-simple/#findComment-462476 Share on other sites More sharing options...
blueman378 Posted February 9, 2008 Author Share Posted February 9, 2008 thanks acctually it was shedokens Link to comment https://forums.phpfreaks.com/topic/90185-solved-really-really-simple/#findComment-462504 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.