Changeset 249 for quests/export.php
- Timestamp:
- Jan 19, 2008, 10:51:11 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quests/export.php
r247 r249 196 196 <?php 197 197 // multiple="multiple" 198 $ID = $Database->SQLCommand("SELECT user,ID FROM `user`"); 198 $ID = $Database->SQLCommand("SELECT user,ID FROM `user` WHERE 199 EXISTS(SELECT 1 FROM quests WHERE user = user.ID) ORDER BY user"); 199 200 while ($Line = mysql_fetch_array($ID)) 200 201 echo '<option value="'.$Line['ID'].'">'.$Line['user'].'</option>';
Note:
See TracChangeset
for help on using the changeset viewer.