I have the following script and have installed the newest version of Xampp.
I have tested this on a online domain with php access. The script is working fine there. I want to execute the script offline in the localhost.
Can anyone tell me why the script is not working properly. The script only insert a row with the ID, but the values not. The values are correct written, otherwise they were not working online.
<?php include ('db_connect.php'); ?>
<?php
$query= "INSERT INTO klant (`voornaam` , `achternaam` , `adres` , `plaats` , `postcode` , `telefoon_prive` , `telefoon_mobiel` , `geboortedatum` , `notities` )
VALUES ('$voornaam', '$achternaam', '$adres', '$plaats', '$postcode', '$telefoon_prive', '$telefoon_mobiel', '$geboortedatum', '$notities')";
mysql_query($query) or die (mysql_error());
echo"De tekst is succesvol ingevoerd<BR>";
echo ("<BR><a href=\"klant.php\">Terug naar de klanten pagina</a>");
?>
Can anyone help me.
GR. Ramon