• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how can i write a user defined query statement

 
David Nelson
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this function is just like most site provided, there are several options, user can specify values for some options, but don't have to specify all of them,

e.g. to find users, there are some options such as: age arrange, sex, occupation, living place, height..., user can specify values for some of them, so that to shrink search result.

how can i write a prepared statement for this kind of query,

Cheers.
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
here somethin for you Nelson


And then some if conditions,



hope it will give you atleast an idea.
[ October 25, 2004: Message edited by: adeel ansari ]
 
David Nelson
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i c it, thanks sooo much
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic