I need to add some data from drop down menus into a database. The form loops on itself to add the data. I'm not sure which part I need to add the dollar too, i.e. the select name or the values in the list, in order to make it work. I've included part of the code below:
$form.="Cateory 1*: <select name=\"cat\"> ";
$form.="<option value=\"Action\">Action</option> <option value=\"Comedy\">Comedy</option>";
$form.="<option value=\"Drama\">Drama</option> <option value=\"Family\">Family</option>";
$form.="<option value=\"Horror\">Horror</option> <option value=\"Misc\">Misc</option>";
$form.="</select>
Help please.