Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~151 People Reached
Favorite Forums
Favorite Tags
php x 3
Member Avatar for steve1969

Hi I have some code that I have written that pulls out data from a simple database into a dropdown menu. <?php mysql_connect('localhost' , 'databasename', 'password'); mysql_select_db('databasename'); $result=mysql_query("SELECT * FROM Persons"); if(mysql_num_rows($result)>0) { ?> <select name="Persons"> <?php while($rows=mysql_fetch_array($result)){ ?> <option value="<?php echo $rows['id']; ?>"> <?php echo $rows['FirstName']; ?></option> <?php } …

Member Avatar for diafol
0
151