Newbie inserting into a database

From: Date: Thu, 13 May 2004 21:53:54 +0000
Subject: Newbie inserting into a database
Groups: php.db 
Request: Send a blank email to php-db+get-34433@lists.php.net to get a copy of this message
Here is what I have so far? <? $DBname = "testdatabase"; $host = "localhost"; $user = "root"; $password = "password"; $dbconnect = @mysql_connect('$host','$user','$password','$DBname'); I know this is wrong since I am not connecting. What I want to do is INSERT several values into a database. What am I doing wrong and what do I need to do after I connect (The Code)? 7 day old problem here and pulling at my hair! Appreciate it!

« previous php.db (#34433) next »