Answer Posted / haroon sajjad
//if single row delete
mysql_query("DELETE FROM table WHERE item='itemname'");
//if multiple rows to delete
mysql_query("DELETE FROM table WHERE item in ('item1',
'item2', 'item3')")
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is mysqli_fetch_array?
What is php good for?
What are the characteristics of php variables?
What is difference between static and final in php?
What is the use of count() function in php?
What is the difference between explode () and split () functions in php?
What are the two types of variables?
Explain the value of the variable input is a string 1,2,3,4,5,6,7. How would you get the sum of the integers contained inside input?
How to create an array in php?
What is php session_start() and session_destroy() function?
Do I need apache for php?
What are the features of php 7?
Is empty check in php?
What is substr() in php? And how it is used?
What is session cookies php?