Can not delete a row in PHP

General discussion on technical and managerial topics
no avatar
Posts: 2
Joined: Wed Mar 20, 2013 12:51 pm

Can not delete a row in PHP

by subratmca85 » Wed Apr 03, 2013 3:48 pm

Here is the codes:

$id = $_GET['id'];

$sql= "delete * From student WHERE rollno=$id";

die('Deletion failed...Please try again.'. mysqli_error());
echo "Record deleted successfully";
Please help...

Return to General Discussion