Question  Search function and database..

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Search function and database..
Ammo_Nx
CZ Newbie
Ammo_Nx has been a member for over 15 year's 15 Year Member
Status: Offline
Joined: Apr 13, 2008
0.00 posts per day
Posts: 2
Points: 0
   
Ok, I'm in great need of your great minds and knowledge.

I'm looking to create a database for a pyrotechnics website. This database would store a list of pyrotechnics forumulas which are made up of certain chemicals.

eg.

Red Star Formula

Potassium perchlorate.............................66
Red gum...........................................13
Lampblack......................................... 2
Strontium carbonate...............................12
Polyvinyl chloride................................2
Soluble Glutinous Rice Starch.....................5

I would like for the search feature to consist of 2 windows. The left window listing the chemicals and the right window to add the chemicals to search in. Something similar to this...


So this would mean that the usetr could come to the site and say I have this this, this and this chemical and the search would find any formula containing those chemicals in.

I would like to ask if there is a way to acheive this, if so could you give me some pointers and tips. Keep in mind I'm a complete noob at this, so easy is better. Some prewritten script that I could modify to my liking would be great.

Thanks

Ian.



Back to top Reply with quote
#2   
Telli
Site Admin
Telli has been a member for over 20 year's 20 Year Member
Occupation: Self Employed
Age: 45
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.06 posts per day
Posts: 8089
Points: 494,430
   
Do you have the database setup? Is the above example from something your using now or from another site?

I dont think anyone is going to be able to help you without alot more information and samples of what your trying to do.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   re: Search function and database..
Ammo_Nx
CZ Newbie
Ammo_Nx has been a member for over 15 year's 15 Year Member
Status: Offline
Joined: Apr 13, 2008
0.00 posts per day
Posts: 2
Points: 0
   
I have access to mysql but am yet to create a database as I don't really know how.

What I require is this.

I want a page that displays 2 windows like the above image, the left window would list a load of chemicals alphabetically. The user trying to do a search would click on each chemical and add it to the window on the right side which would start empty, they would then click search. The search would then look through a list of formulas and display any formulas that contain the previously selected chemical or chemicals. Does that make any sense? lol



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum