Believe it or not my host does not have MySql support so I need to go outside my domain to get a MySql database. I have gone to http://www.freesql.org/ to aquire my database. my question is this how do I configure my script to connect to data base. I continue to get the following error when I load script
Parse error: parse error, expecting `')'' at line 5
<?php
connectToDB("freesql.org", username, password);
function connectToDB("freesql.org", username, password)
{
global $dbname; (THIS IS LINE 5)
global $user_name;
global $password;