Changeset 50 for trunk/includes/databaseconection.php
- Timestamp:
- Jan 30, 2009, 11:31:01 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/databaseconection.php
r49 r50 21 21 function SQLCommand($Command) 22 22 { 23 global $Config; 24 23 25 $ReturnCommand = mysql_query($Command, $this->id_connection); 24 if( mysql_error() != '') echo('<div>'.mysql_error().'<br>'.$Command.'</div>');26 if((mysql_error() != '') and ($Config['Web']['ShowSQLErrors'])) echo('<div>'.mysql_error().'<br>'.$Command.'</div>'); 25 27 return($ReturnCommand); 26 28 }
Note:
See TracChangeset
for help on using the changeset viewer.