Hello,
I'm working with an Access Database and I have to Update and Delete Entries in that database. I wrote a php script like this:
<?PHP
....
if($delete_or_update=="update")
$SQL_query = "UPDATE vakantie SET Goedgekeurd = true WHERE VakantieID like '$vakid'";
else
$SQL_query = "DELETE FROM vakantie WHERE VakantieID=$vakid";
$cor = odbc_exec($cnx, $SQL_query);
....
?>
this script is not returning any errors but it isn't doing anything either.
Is this the way to do this and am I forgetting something or should I do it in a different way?
Rene