hello all, this is my first entry in the forum. i am making an cms to add and modify entries into a database. everything is going well except the modify page. the page gets the id of the entry, the text area but when it tries to collect the list/menu, it displays them as one long line, not as a drop down menu. does anyone know what could be the problem?
code below with problem area in red:
<h3>Links</h3>
<form name="form1" method="post" action="links_update.php?id='.$id.'>
<p>
<br>
<select name="area" size="1">
<option selected>' . $row["area"] . '</option>
<option>Footprint calculators</option>
<option>Water saving</option>
<option>Energy saving</option>
<option>Home</option>
<option>Garden</option>
<option>Directory services</option>
<option>At work</option>
<option>Environmental labelling</option>
<option>Recycling</option>
<option>Investment</option>
<option>Food</option>
<option>Shopping</option>
<option>Travel</option>
<option>For the Kids</option>
<option selected>Green groups</option>
<option selected>Miscellaneous</option>
</select>
<br>
<input name="website" type="text" size="53" value="'.htmlentities($row['website']).'">
: Website <br>
</p>
<p>
<textarea name="details" cols="40" rows="5">' . $row["details"] . '</textarea>
: Details<br>