Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~2K People Reached
Favorite Forums
Favorite Tags
php x 6
Member Avatar for Nida_2

Hey!! i am using php to delete data from database but its not deleting and no error is 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); ?>

Member Avatar for diafol
-1
166
Member Avatar for Nida_2

<?php $username = "system"; $password = "Mwasif2001"; $connectionString = "localhost/ORCL"; $conn = oci_connect($username, $password, $connectionString); if (!$conn) { $e = oci_error(); trigger_error(htmlentities($e['message'], ENT_QUOTES), E_USER_ERROR); } // username and password sent from form $tbl_name = 'USERS'; if(isset($_POST['username']) && isset($_POST['pass'])) { $username=$_POST['username']; $password=$_POST['pass']; } else { echo ('i am here'); } // …

Member Avatar for AndrisP
0
2K