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 a php session?
What is polymorphism?
Which php framework is best for web development?
What is php and what does it do?
What is the difference between htmlentities and htmlspecialchars in php?
What is rest api in php?
What is default session time and path in php?
Code to upload a file in PHP?
Tell us how to set cookies in php?
Which variable declarations within a class is invalid in php?
What does $globals means?
What is variable give example?
Write a program to display table of a number using php?
When is a conditional statement ended with an endif?
Inside a php function, what param needs to be set in order to access a global variable?