Location: PHPKode > scripts > MP Poll > mp-poll/admin/polldb.php
<?
include "db.inc.php";
	
	$db = mysql_connect($db_server,$db_uname,$db_pass);
	if (!$db) die("Could'nt connect to the database");
	mysql_select_db($db_name,$db) or die ("Could'nt open $db: ".mysql_error() );

?>
Return current item: MP Poll