03-11-2009, 02:19 PM
|
#1 (permalink)
|
|
The Contributor
Join Date: Nov 2007
Location: Nashville, TN
Posts: 66
Thanks: 20
|
if statement success
I am pretty sure the following is true:
Code:
$result = mysqli_query( $link , $sql );
if(!$result) { do something if fails}
The ! is used in that instance to run the loop if the sql statement failed. Is there a way to check for success in the same way?
|
|
|
|