how we select data from database in drapdowlist and then delete the date(thrugh php cod)
arsala211
-4
Newbie Poster
diafol
commented:
how about you show us your code so far? Gimme posts are not what we want.
-3
Recommended Answers
Jump to PostCode for generating drop down list as follows
<?php $sql="select eid,ename from emp"; $result = mysql_query($sql); echo "<select name="s">"; while($row = mysql_fetch_array($result)) { ?> <option value="<?php echo $row['eid']; ?>" > <?php echo $row['ename'];?> </option> <?php } ?>
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.