Database name: psythik_poll
Database user: psythik_poll
Database user pass: aaaaaa (not really, but you know what I mean)
The poll script uses the following code to connect to the db:
Code: Select all
<?php
$db = mysql_connect("localhost", "psythik_poll", "aaaaaa") or die("Could not connect.");
if(!$db)
die("no db");
if(!mysql_select_db("db_name",$db))
die("No database selected.");