Request: $short_request
Responded: $err";
$msg= preg_replace("/'/","`",$msg); # watch out for errant cyclic single quotes
bail($msg);
}
#### If it has no output, and may or may not have done something
elseif ($result=='1'){
return(mysql_affected_rows());
}
#### Got this far means theres actual data
else {
return(mysql_num_rows($result));
}
}
?>