I am running a form that pulls data from multiple mysql tables. However whenever the php/mysql code is in the html form tags it will not read the php/mysql nor will it read any php for exampl echo "here";. I have done this several times before so I imagine it is just an issue with a config file. Any thoughts are much appreciated! Code below.
<td>Education</td>
<td><select name="education">
<option value="<?echo $education;?>"><?echo $edu_desc;?></option>
<? echo "here";
$edusql = ("SELECT unique_id, desc FROM education order by unique_id asc");
echo $edusql;
$edurslt = mysql_query($edusql) or die("Error: ".mysql_errno().":- ".mysql_error());
while($erow = mysql_fetch_array($edurslt))
{
$unique_id = $erow['0'];
$desc = $erow['1'];
?>
<option value="<?echo $unique_id;?>"><?echo $desc;?></option>
<?}
?>
</select>