}
// SQL fetch row
-function SQL_FETCHROW($result) {
- // Init data
- $DATA = array();
-
+function SQL_FETCHROW ($result) {
// Is a result resource set?
if (!is_resource($result)) return false;
- $DATA = mysql_fetch_row($result);
- return $DATA;
+ // Fetch the data and return it
+ return mysql_fetch_row($result);
}
// SQL fetch array
// Shall we run it?
if (!$skip) {
// Send it to the SQL_QUERY() function
- /* DEBUG: */ print __LINE__.":".$sql."<br />\n";
+ //* DEBUG: */ print __LINE__.":".$sql."<br />\n";
$result = SQL_QUERY($sql, $F, $L, false);
} // END - if
} else {
// Other ALTER TABLE query
- /* DEBUG: */ print __LINE__.":".$sql."<br />\n";
+ //* DEBUG: */ print __LINE__.":".$sql."<br />\n";
$result = SQL_QUERY($sql, $F, $L, false);
}