That is what I want to do, but have the php do it automatically. I forgot a part of the code, here is the full thing:
PHP Code:
while($row = mysql_fetch_array($result)) {
extract($row);
echo'
<tr>
<td>'.$username.'</td>
<td>'.$email.'</td>
<td>'.$signup.'</td>
<td>'.$ip.'</td>
<td><a href="index.php?act=chk_delete&id='.$id.'">[X]</a></td>
<td><a href="index.php?act=edit&id='.$id.'">Edit</a></td>
<td><a href="index.php?act=chk_ban&id='.$id.'">Ban</a></td>
</tr>';
}
echo '
The while(mysql_fetch_array($result) { section tells it to do whatever is specified as long as there is another result. Thanks for the help so far
Bookmarks