public static function getCellSource($sheet, $cell) { $src = Database::selectAndFetch("SELECT src FROM `myexcel` WHERE sheet='{$sheet}' AND x='" . self::x($cell) . "' AND y='" . self::y($cell) . "'"); return $src; }
function sql($sql) { return Database::selectAndFetch($sql); }