Reply to build WHERE clause on demand

Your name:

Reply:


Posted by shawn on 10/05/53 11:31

Hi I have a situation where the user will choose a subset of a list of items
and display by submitting request. For example I have apple, orange and
pear. A user may select apple and pear, or orange and pear or all etc.

How to I contruct the WHERE clause?

SELECT fruit_name, price FROM fruit_table WHERE fruit_name = .....

Can you help?

Thanks!

Shawn

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация