dreamwest Posted February 8, 2009 Share Posted February 8, 2009 What does this mean if ( !( $result = mysql_query( $sql ) ) ) { } Quote Link to comment https://forums.phpfreaks.com/topic/144293-what-does-this-mean/ Share on other sites More sharing options...
Mchl Posted February 8, 2009 Share Posted February 8, 2009 Check if query returns a correct result (i.e. query does not fail due to error), and if not do whatever is in the brackets. Quote Link to comment https://forums.phpfreaks.com/topic/144293-what-does-this-mean/#findComment-757385 Share on other sites More sharing options...
dreamwest Posted February 8, 2009 Author Share Posted February 8, 2009 OK sweet Thought it was an error... Quote Link to comment https://forums.phpfreaks.com/topic/144293-what-does-this-mean/#findComment-757398 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.