Re: [PHP-DB] Newbie inserting into a database

2004-05-14 Thread Daniel Clark
Remove the single quotes or change to double quotes around the variables. (in the mysql_connect() statement) > Here is what I have so far? > $DBname = "testdatabase"; > $host="localhost"; > $user="root"; > $password = "password"; > > > $dbconnect = @mysql_connect('$host','$user',

Re: [PHP-DB] Newbie inserting into a database

2004-05-14 Thread Daniel Clark
Remove the single quotes or change to double quotes around the variables. > Here is what I have so far? > $DBname = "testdatabase"; > $host="localhost"; > $user="root"; > $password = "password"; > > > $dbconnect = @mysql_connect('$host','$user','$password','$DBname'); > > I know t

[PHP-DB] Newbie inserting into a database

2004-05-14 Thread Ronald Allen
Here is what I have so far? http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php