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
https://forums.phpfreaks.com/topic/147943-how-to-make-php-mysql-advance-search/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.