hi i need some help again. can anyone do me a favor to convert my code from Mysql --> Mysqli I've been using mysql so im not that familiar yet with mysqli thanks in advance
Here is my php code that i want to convert
<?php
    $query = mysql_query("SELECT sched_ID, venue FROM tblschedule"); 
    echo '<select id="sched_ID" name="sched_ID"  class="form-control" >';
    echo '<option>-- Select Venue --</option>';
    while ($row = mysql_fetch_array($query)) 
    {
        echo '<option value="'.$row['sched_ID'].'">'.$row['venue'].'</option>';
    }
    echo '</select>';
 ?>
 
     
    