title: I want to add and remove items from a menu with PHP
body: <p>This menu will need to be updated daily.   </p>
  
  <pre><code>&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;
  &lt;h1&gt; Welcome to Burgerama &lt;/h1&gt;
  
  &lt;?php include("menuBuilder.php");
  showBurgerMenu();
  ?&gt;
  
  &lt;/body&gt;&lt;/html&gt;
  </code></pre>
  
  <p>Menu items are stored in the database. Items have a display field; if it is on, the item should be displayed on the menu. The menu only displays 4 or 5 "specials" at a time, and the manager needs to change menu items easily. I want to make a menu editing page like this:</p>
  
  <pre><code>&lt;?php include("burger_queries.php");
  dbconnect("burger_database");
  
  foreach($menuItem in burger_database)
  {
      echo createToggleButton($menuItem);
  }
  ?&gt;
  </code></pre>
  
  <p>.. with a toggle button for each menu item. Ideally the button will be labeled with the menu item, in blue if the item is "on", and red if the item is "off." Clicking the button switches between "on" and "off"</p>
  
  <p>I am stuck trying to a get a button to execute an UPDATE query on its corresponding menu item.</p>