Initial commit
This commit is contained in:
12
lotgd-web/lotgd/lib/sql.php
Executable file
12
lotgd-web/lotgd/lib/sql.php
Executable file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
// translator ready
|
||||
// addnews ready
|
||||
// mail ready
|
||||
|
||||
// A slightly higher level SQL error reporting function.
|
||||
function sql_error($sql){
|
||||
global $session;
|
||||
return output_array($session)."SQL = <pre>$sql</pre>".db_error(LINK);
|
||||
}
|
||||
|
||||
?>
|
Reference in New Issue
Block a user