diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2013-01-14 14:49:51 -0800 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2013-01-14 14:49:51 -0800 |
commit | 59fc439d341900d99c00a31ff1653b274ba2a037 (patch) | |
tree | 5bd4b89bb500bc5557750228030ee0f2b8e2fb6d /includes/sqlEmbedded.php | |
parent | fab36d921f22cb5999357932785e03aa88269f8d (diff) | |
parent | 532faa4d5cc5b20fba8422c87b0aac846874af43 (diff) | |
download | pathery-59fc439d341900d99c00a31ff1653b274ba2a037.tar.xz |
Merge branch 'HEAD' of ssh://git@git.raylu.net/pathery
Conflicts:
css/challenge.css
Diffstat (limited to 'includes/sqlEmbedded.php')
-rw-r--r-- | includes/sqlEmbedded.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/includes/sqlEmbedded.php b/includes/sqlEmbedded.php new file mode 100644 index 0000000..b7a32b5 --- /dev/null +++ b/includes/sqlEmbedded.php @@ -0,0 +1,7 @@ +<?php +include_once('db.inc.php'); + +global $mysqlid; +$mysqlid = @mysql_connect($db_host,$db_user, $db_pass) or die("Cannot connect to database."); +@mysql_select_db($db_name, $mysqlid) or die("Invalid database."); +?> |