function createHTMLform($script)
{
   $html = "<form action='$script'  method='post'>
   <b>Select Chart:</b>  
   <select name='chart'>
   <option value='sql'>data from database</option>
   <option value='url'>data via URL</option>
   <option value='file'>data via file</option>
   <option value='formula'>data via formula</option>
   <option value='menu'>all charts via chart menu</option>
   </select>
   <input  type='submit' value='show chart' class='button' />
   </form>";
     
   return $html;
}