Jump to content

How to make PHP & MySQL advance search ?


plodos

Recommended Posts

CREATE TABLE IF NOT EXISTS `conference` (
  `id` int(11) NOT NULL auto_increment,
  `year` varchar(10) NOT NULL,
  `mounth` varchar(20) NOT NULL,
  `country` varchar(100) NOT NULL,
  `city` varchar(100) NOT NULL,
  `name` text NOT NULL,
  `sname` varchar(50) NOT NULL COMMENT ,
  `keywords` longtext NOT NULL,
  `cdate` varchar(50) NOT NULL COMMENT ,
  `link` text NOT NULL,
  `rdate` datetime NOT NULL COMMENT ,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=168 ;

 

I want to make advance search with using PHP.

 

1) There will be combobox for select conference year

2) After user will select month

3) maybe user will select onyl city, than user willl see the conferecences which are related with this city

4) or user can only search with keywords to see the related conferences

 

there are the conditions...

 

Could you give me an idea or sample code.

 

Thanks for everything.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.