coding for deleting items form data base on select
Answer / 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 |
What is == and === in php?
What is difference between $x and $$x
5 Answers Mindex, Net Solution, Procon IT Solutions, Trigent,
display selected value in dropdown list through javascript without page refresh
What are the ways to define a constant in php?
How do you trim spaces in excel?
Is laravel an oop?
what is array_search() in php?
Does php has a future?
What is the purpose of basename() function in PHP?
Which is better php or wordpress?
How to call javascript function in php on button click?
How does cookies work in php?