Forum Moderators: coopster
$actRef=$_POST['bkRef'];
$actTitle=$_POST['bkTitle'];
$actPrice=$_POST['bkPrice'];
$actType=$_POST['bkType'];
$fctRef =mysql_real_escape_string($actRef);
$fctTitle =mysql_real_escape_string($actTitle);
$fctPrice =mysql_real_escape_string($actPrice);
$fctType =mysql_real_escape_string($actType);
mysql_query("INSERT INTO `mytablename` (prdID, prdTitle, prdPrice) VALUES ('$fctRef', '$fctTitle', '$fctPrice')") or die(mysql_error());