
June 11th, 2000, 05:52 AM
|
|
Contributing User
|
|
Join Date: Jun 2000
Location: Sydney, Australia
Posts: 32
Time spent in forums: < 1 sec
Reputation Power: 13
|
|
|
// Split the variables into their individual variables..
while (list($name, $value) = each($HTTP_POST_VARS));
// connect into the database..
$db = mysql_connect ("localhost","username", "password");
mysql_select_db("database",$db);
// Inserting the values into tablename..
$sql_insert = "INSERT INTO tablename ( catID, catName ) VALUES ( '$catID', '$catName' )";
mysql_query($sql_insert);
good luck with the rest
scoobydoo
|