JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
changed licence to lgpl, metaform includes wfpl in tarbal
[wfpl.git] / examples / db_connect.php
diff --git a/examples/db_connect.php b/examples/db_connect.php
new file mode 100644 (file)
index 0000000..ab5b597
--- /dev/null
@@ -0,0 +1,10 @@
+<?php
+
+require_once('code/wfpl/db.php');
+
+# fill in whatever database credentials you need here:
+db_connect('database_name', 'username', 'password', 'host');
+
+# all fields are optional. see code/wfpl/db.php for details.
+
+?>