I am using php to delete data from the database but its not deleting and there is no error showing.
Please help me.
<?php
include('connect.php');
$p_No = $_POST['p_No'];
$sql2 = "DELETE FROM usersR WHERE p_No = '$p_No'";
$compiled1 = oci_parse($conn,$sql2);
$ex = oci_execute($compiled1,OCI_DEFAULT);
?>
Its my connect.php code
<?php
$username = "system";
$password = "******";
$connectionString = "localhost/ORCL";
$conn = oci_connect($username, $password, $connectionString);
if (!$conn) {
$e = oci_error();
trigger_error(htmlentities($e['message'], ENT_QUOTES), E_USER_ERROR);
}
?>