It is currently Thu Mar 28, 2024 10:13 am


All times are UTC


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: PHP/MySQL search engine thingy
PostPosted: Sat Nov 12, 2005 6:53 pm 
Experienced
Experienced

Joined: Sun Feb 20, 2005 3:11 pm
Posts: 92
Location: Australia
Hello. I'm working on a search page for a website with member accounts and such, basically a personals/dating website. People can have things on their page such as whether they smoke (never, rarely, or often), whether they drink alcohol (never, rarely, or often), their religion, et cetera. For searching through user profiles, you select options with HTML checkboxes. Users may search by selecting various checkboxes and such for different things, so any final search query will have to be composed of several different options.

Example:
- Smokes: rarely, often
- Drinks: never, rarely, often
- Religion: Buddhist, Hindu, Christian, Jewish

A person searching might select the checkboxes for multiple items in each section, then his Submit.

How would I write the PHP search page which combines the various options to create a MySQL query?

Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 17, 2005 5:06 pm 
Noobie
Noobie

Joined: Tue Oct 25, 2005 10:05 am
Posts: 9
get a book
http://flazx.com/category11.php


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 17, 2005 5:32 pm 
I have no life!
I have no life!

Joined: Sun Feb 13, 2005 6:12 pm
Posts: 1504
Location: My Office
Hey,

Read some information and learn PHP and MySQL at some different websites:

www.php.net
www.mysql.com

_________________
Best Regards:
Aaron McGowan (aka: CyberGeek, =cipher=)

CyberGeek's Software Solutions
-- WWW: http://www.cybergeeksoftware.com
-- Tech Line: 1-519-860-4557
-- Email: cybergeek@cybergeeksoftware.com


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 17, 2005 5:33 pm 
I have no life!
I have no life!

Joined: Sun Feb 13, 2005 6:12 pm
Posts: 1504
Location: My Office
Hey,

You could also find help at www.thetechbase.com on the forums if you are a registered member and post your problem as we will promptly answer you question! :D

_________________
Best Regards:
Aaron McGowan (aka: CyberGeek, =cipher=)

CyberGeek's Software Solutions
-- WWW: http://www.cybergeeksoftware.com
-- Tech Line: 1-519-860-4557
-- Email: cybergeek@cybergeeksoftware.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ]  Moderators: fhmagic, KJ, Moderators, Support Team

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
100WebSpace © 2011