I tried the code again, like this (with the , ) but I still had a blank page with no errors, and the databse was not modified. I have checked, and I'm definatley accessing the right databse, with the right fields. Heres the code I'm using.
<?
$db = mysql_pconnect("localhost", "ma135yh_tf", "*******");
mysql_select_db("forums");
if (!$db) {
echo "Databse connection error. Will now die.";
exit;
}
$username = ('hello2123');
$password = ('pass123321');
$query = "INSERT INTO users (username, password) VALUES ('".$username."', '".$password."')";
mysql_query($query);
?>