Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


coding for deleting items form data base on select



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

Post New Answer

More PHP Interview Questions

What is the purpose of break and continue statement?

0 Answers  


Why php is used?

0 Answers  


What is array function in javascript?

0 Answers  


What are the Formatting and Printing Strings available in PHP?

0 Answers  


Explain Magento's autoload functionality and how to instantiate classes? What is the process you take when theming a store? Talk about Magento collections and how you use them?

0 Answers  






What is the full form of PHP?

28 Answers   Apple, Nandhini, PHP,


Explain the different types of errors in php.

0 Answers  


What is isset function in php?

0 Answers  


1. Write a function to swap two values ? $a = 10; $b = 20; echo $a, $b; swap(); // If u want u can pass parameters echo $a, $b; // It should print 20 , 10

14 Answers   Aquasol, Infosys, TCS, Torque Infotech,


What are the different types of Errors in PHP?

20 Answers   Cisco, TCS, Troop Software,


How can we submit a form without a submit button? What is the use of obj_star?

2 Answers   Rushmore Consultancy,


What is the difference between echo print and print_r in php?

0 Answers  






Categories