hi there - yes, thanks for that!
I am on a mac and didn't have register_globals on, so i need to use $_POST etc.
Only problem is now it's working in that its creating a new record but all the fields are empty. i changed the syntax to:
$sql = "INSERT INTO customers (name,second_name,age,address) VALUES (\"$name\",\"$second_name\",\"$age\",\"$address\")";
and it comes out as . INSERT INTO customers (name,second_name,age,address) VALUES ("","","","")
which is obviously wrong.
(btw, this forum keeps chopping parts of my posts off!)