I know for certain that in lower level applications, verfying a data write is very good practice. When inserting data into MySQL would it be nessecary to do a second query to look up the row to see if it exists with all of the correct data or should I use a built in function of PHP?
Eg: Would this be sufficient:
$result = mysql_query($sql);
if ($result==false) {
print "Possible Error";
}
else {
print "Query Completed (& Verified?) Successfully";
}