Hello,
Here is the code.
$query= "INSERT INTO web
(
products,
companyname,
contactperson,
addressone,
addresstwo,
emailaddress,
dayphone,
numservers,
numclients,
numbranches,
businessarea
)
VALUES
(
' $HTTP_POST_VARS["prdt"]',
' $HTTP_POST_VARS["companyName"]',
' $HTTP_POST_VARS["contactPerson"]',
' $HTTP_POST_VARS["addressOne"]',
' $HTTP_POST_VARS["addressTwo"]',
' $HTTP_POST_VARS["emailAddress"]',
' $HTTP_POST_VARS["dayphone"]',
$HTTP_POST_VARS["numServers"],
$HTTP_POST_VARS["numClients"],
$HTTP_POST_VARS["numBranches"],
' $HTTP_POST_VARS["businessArea"]'
)";
$table=new my_table($db_handle, $query);
Please help. Thanks.