title: Calling SQL foreign key data with PHP
body: <p>I need to get a better grasp on the process of manipulating and utilizing the SQL tables I need to make so I can continue figuring out exactly how I should make them and structure them to work.</p>
  
  <p>If I have a table for shirts and another table for sizes and I use a foreign key on the shirts table to link to the sizes table to represent multiple options for that column.  Do I only need to call on the shirts table in the PHP coding?  If so how do I tell the PHP to gather whatever options are available for each row on the sizes table?</p>
  
  <p>If in the table it has</p>
  
  <p>vneck       sizes,</p>
  
  <p>scoop neck  sizes</p>
  
  <p>and I have it set where the vnecks only have s,m,l,1x and the scoop necks have xs,s,m,l,1x,2x,3x.  How can I code the PHP to recognize the difference I have logically set in each row for that column?</p>