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 final keyword in php?
How to insert a line break in php string?
What is the use of php and mysql?
What is the use of ajax in php?
What is a role of a designer in web development. Till what level the designer will do his work. Does he gives the complete html file or the tpl file or he should also include the smarty tag in the tpl file.
How do you define a constant in php?
Suppose your Zend engine supports the mode <? ?> Then how can u configure your PHP Zend engine to support <?PHP ?> mode ?
1 Answers Rushmore Consultancy,
Explain a resource?
How do you pass a variable by value in php?
Tell me how would you declare a function that receives one parameter name hello?
Define soundex()?
How to protect special characters in query string?