title: PHP button color change on select - without JavaScript
body: <p>I have a PHP web page with 4 independent sets of buttons. I want to change to color of the button that is pressed to yellow, and for it to stay this way (even if the page is refreshed) until another button is pressed. I am trying to avoid Java if at all possible, to keep it simple for me to change later.</p>
  
  <p>Here is a small code snippet:</p>
  
  <pre><code>&lt;head&gt;
  &lt;style type="text/css"&gt;
  
  body {
  font: 100% Verdana, Arial, Helvetica, sans-serif;
  background: #666666;
  margin: 0; 
  padding: 0;
  text-align: center;
  color: #000000;
  }
  
  .newStyle1 {
  float: left; 
  }
  
  .auto-style1 {
  color: #FFFFFF;
  font-size: 20px;
  }
  
  &lt;/style&gt;
  &lt;title&gt;Audio Control&lt;/title&gt;
  &lt;/head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
  &lt;body&gt;
  
  &lt;form action="" method="post" &gt;
  
  
  &lt;fieldset style="display:inline; border:none; padding:0px; margin:0px; vertical-align:top; class="newStyle1" style="height: 450px" &gt;
    &lt;legend align="center"; class="auto-style1"&gt;Backyard Audio&lt;/legend&gt;
    &lt;br/&gt;
    &lt;button name="input" style="height: 1.8em; width: 10em; font-size: 16px;" value="CL2I1O1T" type="submit"&gt;Computer&lt;/button&gt;
    &lt;br /&gt;
    &lt;br /&gt;
    &lt;button name="input" style="height: 1.8em; width: 10em; font-size: 16px;" value="CL2I2O1T" type="submit"&gt;Tuner&lt;/button&gt;
    &lt;br /&gt;
    &lt;br /&gt;
  
  
  &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>