/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function dbQuery($query, $identifier=''){ // $identifier for better debugging GLOBAL $debugMode; if (!$result) { if($debugMode) $message .= 'Whole query: ' . $query; } } function dbConnect($user, $pass, $db=FALSE, $host='localhost'){ return $link; } function strSafe($str, $char="'"){ }
Comments
