$OUT = ""; $SW = 2; $MAX = sizeof($SQLs) - 1;
foreach ($SQLs as $key => $sql) {
// Run SQL command, get line numbers and free memory
- $result = SQL_QUERY($sql, __FILE__, __LINE__);
+ $result = SQL_QUERY($sql, __FUNCTION__, __LINE__);
// Get rows
$value = SQL_NUMROWS($result);