Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


joebunting

38 posts

Geek
+1 received by user: 1


#57212 5-Feb-2010 19:43
Send private message

hi there,'


i have a simple request i am creating a search form for my online car parts website,  this is my original:



<form action="http://vanparts.co.nz/shopping/start.php" method="post"><input type="hidden" value="1" name="find"> Search Parts<br><input class="text" style="WIDTH: 140px" maxlength="15" size="15" name="searchfor"> <img height="2" src="http://vanparts.co.nz/shopping/start.php" width="140" border="0"><br><input class="FormLt1" type="submit" value="Find Now"> 
</form>


instead of the user physically typing in the search term i want them to select from options 
~make of car
~year of car
~part needed
then from that information it will search for matches, rather than them typing in the year make model etc.
the original search works fine.




thanks
and looking forward to some replys




 

Create new topic
ReaperSA
3 posts

Wannabe Geek


  #298132 11-Feb-2010 21:49
Send private message

You can bind dropdowns to data on the back - end and then handle the onchange event on the dropdown :)



itxtme
2102 posts

Uber Geek
+1 received by user: 557


  #298152 11-Feb-2010 22:34
Send private message

It all depends on the back end engine. We can create an html form for you in 2 seconds but we dont know what kind of string that you need to produce... IE. what does the search engine accept

Once that is known you can use the form and PHP to create a string like "Ford+Escort+1989+exhaust"

joebunting

38 posts

Geek
+1 received by user: 1


  #298460 12-Feb-2010 18:22
Send private message

yes that is what we want the search to search like, so we can make the product SKU that etc. would you be able to help with the creation of the form, it searches page http://vanparts.co.nz/shopping/start.php , once many thanks i really appriciate it, many thanks




 



joebunting

38 posts

Geek
+1 received by user: 1


  #298477 12-Feb-2010 20:16
Send private message

the search engine will accept, ford escort 1989 , i have changed my mind just the make, model and year now, once again many thanks, :)




 

joebunting

38 posts

Geek
+1 received by user: 1


  #300520 20-Feb-2010 14:05
Send private message

hi again,
i have managed to find the mySQL database for the store product list i just need to know how make a form how to search that database i have no idea, i want the user to select from drop down menus [year] and [model] then those two wil be put together and seach year model eg 1990 mazda, i hope i am not to confusing here. i have no database search background so this is all new for me, also i am willing to pay for somebody to help me create this search form as it is very important, thanks




 

Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.