Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Product Search Interface
Old 02-02-2009, 11:51 AM Product Search Interface
Novice Talker

Posts: 9
Trades: 0
Hi All,
I am in the process of creating a site that uses a database of products but I am having difficulty in creating a product search interface for the users which is rendering my site useless, as its difficult to find the products you want. I have been searching for tutorials or posts on anything related but have been unable to find anything, hence this post. I am aiming for a category, brand price search functionality not too disimilar to the Kelkoo setup. I have a simple text box search working but want to give the user the ability to refine the results further. Any advice or help is much appreciated!

Cheers.
Try Hard Webby is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-04-2009, 02:28 PM Re: Product Search Interface
Novice Talker

Posts: 9
Trades: 0
Hi,

Don't suppose anyone has any information for me....quite a few views so far so still hopeful of a decent response or two!!
Try Hard Webby is offline
Reply With Quote
View Public Profile
 
Old 02-05-2009, 06:12 AM Re: Product Search Interface
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,385
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
maybe if this was in whatever server side code forum your site uses, otherwise this is just a generic question
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 02-14-2009, 07:30 AM Re: Product Search Interface
Novice Talker

Posts: 9
Trades: 0
Hi,
Sorry about the wait in me responding, I have been persisting and have made a little head way but help and suggestions still needed. I am currently doing it in PHP.

Cheers
Try Hard Webby is offline
Reply With Quote
View Public Profile
 
Old 02-18-2009, 02:53 PM Re: Product Search Interface
Novice Talker

Posts: 14
Name: Andy
Trades: 0
The question is too general. Problem need more information about.

For starter, I will say:
1. you need to have a form something like:
<form action="/search.php">
Query: <input type="edit" name="q"/>
<input type="submit" value="Search"/>
</form>
2. Then in your php script (search.php), you need to convert q to a SQL statement. For example:
"select * from products where description like '%".$_REQUEST['q']."%'";
3. then display the result one by one.
4. then you also need to have an "advance search UI" like advance_search.php which will take more fields (for example, if your production database is about clothing, you need to let the user specify color, size, etc..). Then do step 2 again.

Again, the solution is very general, you probably need to do more than this (for example, make sure the query is MySQL safe, etc..)
__________________
TextLinksDepot.com -
Please login or register to view this content. Registration is FREE
andylaubobby is offline
Reply With Quote
View Public Profile Visit andylaubobby's homepage!
 
Old 02-18-2009, 02:59 PM Re: Product Search Interface
Banned

Posts: 923
Name: Geoff Vader
Location: In my dreams
Trades: 0
It's true - you shouldn't be posting a question and waiting forever for it to be answered - you should be looking up php scripts on google, writing the script you want (or otherwise buying marketplace credits, and paying me a few quid to do it for you - or someone else - because hey, it's a job a lot of people here do for money not kicks!)
witnesstheday is offline
Reply With Quote
View Public Profile
 
Old 02-21-2009, 06:06 PM Re: Product Search Interface
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,385
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
or maybe even post in the PHP Forum where the thread will be in about 5 seconds
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Product Search Interface
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.44739 seconds with 12 queries