First Commit
This commit is contained in:
1 parent
5eb9dd037d
commit
2e62c0e60b
11877 files changed
+2035312
No files matched your search
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
include "db.php";
|
||||
db_close($_DB);
|
||||
|
||||
// Connect to remote system
|
||||
$db_host = "polarbear2";
|
||||
$db_dbname = "schoolappointments";
|
||||
$db_uname = "ezssoftwaredb";
|
||||
$db_pass = "ezs7785422700@@";
|
||||
|
||||
echo("Connecting to: $db_host\n");
|
||||
$_DB = mysql_connect($db_host,$db_uname,$db_pass);
|
||||
if ($_DB->connect_errno) {
|
||||
echo("Connect failed: $db_host\n");
|
||||
exit();
|
||||
}
|
||||
|
||||
db_query("SET NAMES utf8");
|
||||
db_query("SET CHARACTER SET utf8");
|
||||
db_query("USE schoolappointments");
|
||||
|
||||
|
||||
$results = db_query("SELECT * FROM schools ORDER BY record_num LIMIT 0,1");
|
||||
$row = db_fetch_assoc($results);
|
||||
|
||||
print_r($row);
|
||||
|
||||
?>
|
||||
Reference in new issue
Block a user