Jump to content

Best way to do a mysql lookup table


tibberous

Recommended Posts

I have a table full of dictionary words. I want to store them in another database by id.

 

So, table one would have:

 

WordID

Cat1

Dog2

Boy3

 

And the second table would refer to words as the id in the first table. Is there some way I can make a query to the second table, and have it return the word value rather the id? (hope you guys get what I mean)

Link to comment
https://forums.phpfreaks.com/topic/63386-best-way-to-do-a-mysql-lookup-table/
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.