[insert_php]

$hostname=’localhost’;
$username=’israelicc’;
$password=’ShekelD0n@tions’;
$dbname=’info’;
mysql_connect($hostname,$username, $password);
mysql_select_db($dbname);

$sql=”INSERT INTO info (firstName, lastName, phoneNum, email, comments ) VALUES (‘”.$_POST[‘fname’]. “‘, ‘”. $_POST[‘lname’].”‘, ‘”. $_POST[‘phone’].”‘, ‘”.$_POST[’email’].”‘, ‘”.$_POST[‘comments’].”‘)”;
if(mysql_query($sql))
{
echo “added”;
}
else
{
;
}

[/insert_php]

Leave a Reply

Close Menu

Request Application

We'll get back to you in no time.
For questions, please email: welcometoneve@nevey.org

Want to apply to Neve?

Fill in your details and we’ll get back to you in no time

Fill out your information and a member of our staff will be in touch with you