Hi. I know this seems a bit simple but I cannot get it to work!
I am trying to delete all records from an Oracle database using PHP via a web page. The code I'm using is;
<?php
//This page connects to Oracle 8 database and deletes
//all entries in database
$Sql = "DELETE FROM TABLE";
if ($conn = ocilogon("xxx", "xxx"))
{
$stmt = ociparse($conn,$Sql);
ociexecute($stmt,OCI_DEFAULT);
}
?>
I get no errors returned when I run this but the records are not deleted from the table. Many thanks.