Dear members how i can delete a record from a table in php?Give me the code plz...

there is nothing special or specific to PHP,
use your normal SQL statement with PHP for example with MySQL

mysql_query("DELETE FROM my_table WHERE id = 1");

try modify this code to suit what you want

$name= "record to delete"

 
$sql = "DELETE FROM Users WHERE Name= '$name'"or die ("ERROR: Cannot not find user!"); 


$result = mysql_query($sql) or die ("Error in query: $sql. ".mysql_error());
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.