<?php
$con = mysql_connect("localhost","ourinter_admin","");
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }

mysql_select_db("ourinter_database", $con);

$sql="INSERT INTO donation(
firstname,
lastname,
gender,
country,
fulladdress,
phone,
emailaddress,
donate,
total,
creditcard)

VALUES
('$_POST[firstname]',
'$_POST[lastname]',
'$_POST[gender]',
'$_POST[country]',
'$_POST[fulladdress]',
'$_POST[phone]',
'$_POST[emailaddress]',
'$_POST[donate]',
'$_POST[total]',
'$_POST[creditcard]'
)";

if (!mysql_query($sql,$con))
  {
  die('Error: ' . mysql_error());
  }
echo "<one record>";


mysql_close($con);
?>