I ahve updated my php version to 5.1.6 and have decided to use the mysli functions rather the previous mysql and i am getting abit confused on the returning errors if a query doesnt run. I find the php documentation for this section a little confusing. Can i use this ?
mysqli_link = new mysqli($host, $username, $password, $db_name);
$sql = blah blah;
$result=$mysqli_link->query($sql) or die (echo "Error in query!");
thanks in advance
Edwardp