Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <a href="#popupMessage" data-rel="popup" data-position-to="window" data-role="button" data-mini="true" data-inline="true" data-icon="grid" data-theme="a" data-transition="pop">Send Message</a>
- <div data-role="popup" id="popupMessage" data-overlay-theme="a" data-theme="a" class="ui-corner-all">
- <form id="messageform">
- <div style="padding:10px 20px;">
- <h3>Please Select Class<br /></h3>
- <span id="messageerror" class="invalid"></span>
- <label for="selectclass" class="select">Select Class:</label>
- <select name="selectclass" id="selectclass" data-native-menu="false" onchange="showUser(this.value)">
- <option value='default'>Select Class:</option>
- <?php
- $query = "SELECT * FROM enrollment WHERE s_id = $s_id";
- $data = mysqli_query($dbc, $query);
- while($row = mysqli_fetch_assoc($data)) {
- $c_id = $row['c_id'];
- echo "<option value='$c_id'>$c_id</option>";
- }
- ?>
- </select>
- <div id="usersField"></div>
- <button type="button" data-theme="b" data-icon="check" data-inline="true">Send Message</button>
- <button type="reset" data-theme="f" data-icon="delete" data-inline="true">Reset</button>
- </div>
- </form>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement