Board index   FAQ   Search  
Register  Login
Board index php forum :: Database mySQL & php coding

Urgent: narrow search based on keywords

Codes here !

Moderators: macek, egami, gesf

Urgent: narrow search based on keywords

Postby techbees » Thu Feb 27, 2014 1:51 pm

I have a mysql database as shown below.

Brand | RAM | OS | Processor |
----------------------------------------------------------
apple | 2gb | mac os X mountain | Intel Core™ i5 |
----------------------------------------------------------
toshiba | 6gb | Window XP | AMD A10-Series |
----------------------------------------------------------
Dell | 4gb | Window 7 | Intel Atom |
----------------------------------------------------------
HP | 8gb | Window 8 | Intel Core™ i7 |
----------------------------------------------------------

in my php page i have a navigation links to narrow down search as you can see in the image.
Capture.PNG
Capture.PNG (83.7 KiB) Viewed 85 times


1) Should I use html frame to display results in right side of the screen, when user clicks on any of the link under 'narrow your results'?
2) I have no clue how to write mysql query so if user need to narrow down the search results and he/she clicks on 'Apple under Brand' the result on right side of screen should show only apple laptop. If user further clicks on 'Intel under Processor' the result window should show only Apple brand computer with Intel processor.

Thanks in advance!!
techbees
New php-forum User
New php-forum User
 
Posts: 4
Joined: Mon Feb 24, 2014 9:47 pm

Return to mySQL & php coding

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.