Delete test.php

parent f13b1024
<?php
include('../conn.php');
$id=46;
$mem=array();
$um=mysqli_query($conn,"select * from `chat_member` where chatroomid='$id'");
while($umrow=mysqli_fetch_array($um)){
$mem[]=$umrow['userid'];
}
print_r($mem);
$users=implode($mem, "', '");
echo $users;
print_r($users);
$u=mysqli_query($conn,"select * from `user` where userid not in ('".$users."')");
while($urow=mysqli_fetch_array($u)){
?>
<li><?php echo $urow['uname']; ?></li>
<?php
}
?>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment