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 used for tmp table in oracle?

0 Answers  


What is $_ env in php?

0 Answers  


Where is the functions php in wordpress?

0 Answers  


How do you use an array in excel?

0 Answers  


What is use of header() function in php?

0 Answers  


at present am learning lamp course sir ..i want to know the carrer prospectus in php ...is there any companies recruiting freshers in chennai ..for freshers how much can i demand as a fresher in php ....?i finished my mca ..please sugggest me to face interview in php asking salary details and all please suggest me how much can i ask as a fresher in php ? and also tel is there any openings in chennai for recruting php freshers send their emails and company info please ? please send ur valuable suggestions to kiranpulsar2007@gmail.com i hope u wil reply to my question thank u guys bye take care see u soon all the best to everyone

1 Answers   Microsoft, Satyam,


How can we get the browser properties using PHP?

4 Answers   Google, Pollux Softech,


i'm b.com graduate and doing MCM- 1year(Master in Computer Management. i'm very interested in PHP? Please tell me some suggetion and the scope of PHP in the market. My E-mail pawan.register@gmail.com Thanks & Regards Pawan.

1 Answers  


/temp is a type of filesystem directory. State Whether True or False?

0 Answers  


What is the differences between $a != $B and $a !== $B?

0 Answers  


What is filter_var?

0 Answers  


What the limitation of header() function in php?

0 Answers  


Categories