- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
class Mysql_class {
function get_row($query) {
$sql_query = mysql_query($query) or exit(mysql_error());
return mysql_fetch_array($sql_query);
}
function single_query($query) {
if (mysql_query($query)) return true;
else return mysql_error();
}
}