Jump to content

Drop down box php mysql


mattkirtley

Recommended Posts

Hi,

 

I have an insert script into a database with serveral fields one of them is a drop down box fed from a mysql database, what i need to do is in the next field populate it with a field from the same database driven by the choice from the drop down box

 

?>

            <option value="<?php echo $row_artists['artist_show']?>" ><?php echo $row_artists['artist_show']?></option>

            <?php

} while ($row_artists = mysql_fetch_assoc($artists));

?>

          </select>

 

Any ideas?

 

Many thanks!

Link to comment
https://forums.phpfreaks.com/topic/190918-drop-down-box-php-mysql/
Share on other sites

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.