I’m new to php and I have an easy 1 for you - I think
is this right and how to execute it…
<?php
mysql_connect(“localhost”,“user_me”,“pass_me”);
mysql_select_db(“my_contacts”);
$first_name = $_POST[‘first_name’];
$last_name = $_POST[‘first_name’];
$phone = $_POST[‘phone’];
$email = $_POST[‘email’];
$insertSQL = “insert into contacts values (NULL, '”.$last_name."’, ‘".$first_name."’, ‘".$phone."’, ‘".$email."’, ‘’’’, ‘’’’)";
Execute($insertSQL);
?>