Jump to content

JOIN? Help


AnAmericanGunner

Recommended Posts

I *think* this is a JOIN situation, but I'm not sure.

 

Here's the deal.

I have a table (masteroffspring) that essentially contains two bits of information:

horseid | foalid

 

These ids are to correspond with the masterhorse table, which contains all the information.

I need a script that does the following, on a page that already has a query for the masterhorse table.

 

It needs to search the masteroffspring's horseid and find any/all matches, and then look at the foalid and pull the foalid information from the masteroffspring and list the results in a table.

 

Does that make sense? Please help.

Thanks.

Link to comment
https://forums.phpfreaks.com/topic/208232-join-help/
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.