What is the code for informing user that the data is updated or removed???

Recommended Answers

All 4 Replies

After a user submitted a form and a message will be shown

Depends on the code you have. You can output anything you want. Describe what happens, or show code.

$query = mysql_query("DELETE from table WHERE id = '25' ");
if($query)
{
echo 'Deleted Successfully';
}
else
{
echo 'Deletion Failed';
}

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.