This is just a basic for some of you guys. But if you are new to it, it will take some times for you to figure it out. So, please follow the steps mentioned below, and you will get there in no time.
<select name="yourselection">
<option value="">--Select--</option>
<?php
$msql = mysql_query("SELECT * FROM manufacturer");
while($m_row = mysql_fetch_array($msql))
echo("<option value = '" . $m_row['m_code'] . "'>" . $m_row['m_name'] . "</option>");
?>
</select>
how to delet a data in dropdown box which is fetch from database??
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteNice post
ReplyDeleteThanks a lot
Really Valuable ,,,better to be little bit descriptive
ReplyDeleteThanks
ReplyDeleteNice Work
ReplyDeleteThanks