frankalbers
Programmer
Can somebody tell me why this does not put data in mySQL table?
<?php
$db = mysql_connect("db.cupbase.f2s.com:3306","username","password"
or die ("Could not connect to database"
;
mysql_select_db ("nameofdatabase",$db);
$link = mysql_db_query ("INSERT INTO bird (sales_id, bird_id, status, purchase_id, vet_id, weight_id, skingrade) values ('$textfield2', '$textfield3', '$textfield4', '$textfield5', '$textfield6', '$textfield7', '$textfield8')",$db);
mysql_close ($db);
?>
Thanx.
(Sory if this will appear twice.)
<?php
$db = mysql_connect("db.cupbase.f2s.com:3306","username","password"
or die ("Could not connect to database"
mysql_select_db ("nameofdatabase",$db);
$link = mysql_db_query ("INSERT INTO bird (sales_id, bird_id, status, purchase_id, vet_id, weight_id, skingrade) values ('$textfield2', '$textfield3', '$textfield4', '$textfield5', '$textfield6', '$textfield7', '$textfield8')",$db);
mysql_close ($db);
?>
Thanx.
(Sory if this will appear twice.)