Ok I was reading up on how to post form data to the db, and I put the code in, and I am not getting any errors, but still, the data is not being posted to the db.
Here is what I put in for it to post to the db:
<?php
$con = mysql_connect("dbxxxx.perfora.net","dbo233780457","********");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
$db_con = mysql_select_db("db233780457");
If($_GET[act]=="")
mysql_query("INSERT INTO Review_Form (Name, Email, Location, Product, Review, Rating)
VALUES('$POST[name]','$POST[email_address]','$POST[location]','$POST[product]','$POST[review]','$POST[rating]')")
?>
Now like I said, I don't get any errors, so I assume that what I do have is fine, but there has to be something missing, since the data still won't post to the db.
I also have an echo code later on, which does work.
So what am I missing for it to post to the db?
Do I have to add something to the php.ini?