Newbie inserting into a database

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux