Selecting Users WebPage

Status
Not open for further replies.

Detox

Member
Jul 24, 2010
365
24
So I'm trying to code feature for RevCMS

Basic I'm trying to create reporting tool

So this is what's happening

35k8kyc.png


When I click the box I have one of staff member
25ouhog.png


PHP Code

PHP:
<div class="col-sm-10">
<div class="col-sm-10">
<select name="report_staff" class="form-control">
<option value="N\A">N\A</option>
<option disabled>-------------------------</option>
<?php 
                                $getUserInfo = mysql_query("SELECT * FROM `users` WHERE `rank` >=3 ORDER BY username");
                                while ($userInfo= mysql_fetch_assoc($getUserInfo))
                                     {
                                echo '      
<option value="N/A">' .$userInfo['username'] . '</option></select>';
}
?>
</div>
</div>
</div>
<br/>
 
Status
Not open for further replies.

Users who are viewing this thread

Top