<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1032756" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1032756</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/food-and-databases#comment-1191951</link>
    <description> &lt;p&gt;cross link tables, in other words, one table just consists of the &quot;categories&quot;&lt;br /&gt;
the category holds the info to fill in, such as MID, NAME&lt;/p&gt;
&lt;p&gt;e.g.&lt;br /&gt;
1 Breakfast&lt;br /&gt;
2 Lunch&lt;br /&gt;
3 Dinner&lt;br /&gt;
4 Desserts &lt;/p&gt;
&lt;p&gt;MID would be a primary key to that category&lt;br /&gt;
then you would fill in all items into the main table, and include a field for the KEY&lt;br /&gt;
which would then assossciate that item &lt;/p&gt;
&lt;p&gt;say ID, cupcakes, Item Cost, MID&lt;br /&gt;
insert &#039;&#039;, &#039;cupcakes&#039; &#039;5.99&#039;, &#039;4&#039;&lt;/p&gt;
&lt;p&gt;You can then query all MID 4 and it will display Name &quot;Desserts&quot;&lt;br /&gt;
and all items in desserts tagged by being MID 4&lt;/p&gt;
&lt;p&gt;// get those deserts, im hungry&lt;br /&gt;
select table.ID,table.ItemCost, menutable.MID, menutable.NAME from table,menutable where table.MID = &#039;4&#039; &lt;/p&gt;
&lt;p&gt;echo those desserts...&lt;/p&gt;
&lt;p&gt;1 $5.99 4 cupcakes&lt;/p&gt;
&lt;p&gt;above is not perfect but you should get the idea&lt;/p&gt;
 </description>
     <pubDate>Sun, 29 Jan 2006 05:59:50 +0000</pubDate>
 <dc:creator>bugmaster</dc:creator>
 <guid isPermaLink="false">comment 1191951 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/food-and-databases#comment-1191639</link>
    <description> &lt;p&gt;Tim, that is kinda the way I was leaning, all the DB is for is so that the owner can update the menu on the web page by himself...  He has daily specials and things like that...&lt;/p&gt;
 </description>
     <pubDate>Wed, 25 Jan 2006 16:57:39 +0000</pubDate>
 <dc:creator>robbluther</dc:creator>
 <guid isPermaLink="false">comment 1191639 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/food-and-databases#comment-1191637</link>
    <description> &lt;p&gt;I would absolutely just do an identifier field. Then, you can handle everything within the SQL statement itself.&lt;/p&gt;
 </description>
     <pubDate>Wed, 25 Jan 2006 16:55:36 +0000</pubDate>
 <dc:creator>timjpriebe</dc:creator>
 <guid isPermaLink="false">comment 1191637 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/food-and-databases#comment-1191636</link>
    <description> &lt;p&gt;I fell it wwould really depend on the size of th menu, if you have say only 5-10 items of most categories, then I would use just one table with a colum to indicate category.&lt;/p&gt;
&lt;p&gt;Also would depend what the database is for, ie. For customers to place orders, for the management to pick and choose what menu items area available on a given day?&lt;/p&gt;
&lt;p&gt;-Greg&lt;/p&gt;
 </description>
     <pubDate>Wed, 25 Jan 2006 16:55:10 +0000</pubDate>
 <dc:creator>Greg K</dc:creator>
 <guid isPermaLink="false">comment 1191636 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
