Jump to content

Help Making A Drop Down For Links


niche

Recommended Posts

How do I turn this script into a drop down with links? <?php$sql = mysql_query("SELECT department_id, name FROM department");$options = '';echo '<select name="name"><option>CHOOSE ONE</option>';while($row = mysql_fetch_array($sql)) {$id = $row['department_id'];$thing = $row['name'];echo '<option value='.$id.'>'.$thing.'</option>';}echo '</select>';?>

Link to comment
Share on other sites

Yes. I'd like them to drop down, and pull out, I'd like to avoid Java.

Link to comment
Share on other sites

CSS is fine.The site your referred me to looks pretty juicy. Thanks.I'll need at least a day to check it. It's 11:00 pm here and I have a very early morning tomorrow so I have to stop for the night.But, keep tabs on my progress please. I appreciate your help.By the way, will HTML and/or CSS let me do pull outs?

Link to comment
Share on other sites

css/html for drop downs... if you wanna do a select menu that changes the page you'd have to do a javascript or a form button

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...