The insert function does not work. At the end it tells you details have been entered but when you send a query to mysql database there are no fields entered.
<?php
$username = " ";
$dbname = " ";
$password = " ";
$db = mysql_connect( " ", $username, $password);
mysql_select_db( $customers, $db);
//Module to register customers into the system
$test = "Select * from customers where customer_fullname like '$CustomerFullname'";
$result = mysql_query($test);
if (mysql_num_rows($result)>0) {
echo "Sorry, this name has already been registered.<br>";
echo "<td><a href='cutomers_form.htm'><b><font size=6>Go Back to re-enter a new username</font></b></a></td>"; }
else {
$store= "Insert into donations values ('$CustomerFullname','$CustomerOrganisation','$CustomerAddres','$CustomerTown', '$CustomerZipcode','$CustomerCountry','$Customertelephone','$CustomerEmail','$date)";
$results = mysql_query($store);
echo "Thank you! Information entered.\n";
?>