hey, trying to make a regular form but when i use this command
<?php
mysql_connect("localhost", "punkgo") or
die ("Could not connect to database");
mysql_select_db("users") or
dir ("Could not select database");
if ($submit = "Register")
{
$query = "insert into user
(username, password) values ('$username', '$password')";
mysql_query($query) or
die (mysql_error());
?>
<h3>You are now registered</h3>
<a href="index.html">Go back to main page</a>
<?php
}
else
{
include("not.html");
}
?>
[/php
it brings up this
Warning: mysql_connect(): Access denied for user: 'punkgo@localhost' (Using password: NO) in c:\appserv\www\create_entry.php on line 3
Could not connect to database
now, on my punkgo, i made the db users with punkgo, using phpmyadmin, and it does have a pw, so.....any suggestions?