Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 difference between echo, print and printf()?

0 Answers  


Explain what are psrs?

0 Answers  


What is mod_php?

0 Answers  


List out some tools through which we can draw E-R diagrams for mysql.

2 Answers  


Does csrf token change?

0 Answers  


What is the default session time in php?

0 Answers  


What is the difference between fopen() and fclose()?

0 Answers  


Write a PHP code to print following number pattern: 123 456 789

5 Answers  


What is the alternative structure for control structures?

0 Answers  


What type of headers that PHP supports?

0 Answers  


What are the advantages of oops in php?

0 Answers  


Explain how can we execute a php script using command line?

0 Answers  


Categories