
July 25th, 2006, 10:05 PM
|
|
Registered User
|
|
Join Date: Apr 2007
Posts: 22,309
Time spent in forums: < 1 sec
Reputation Power: 24
|
|
|
Fetch users
Hey, I'm trying to write a code to have all my users and their information they entered when they joined into one page, and its not working. Here is what I got
php Code:
Original
- php Code |
|
|
|
<table border="0" width="100%"> <tr> <td width="33%"><b>Username</b></td> <td width="33%"><b>Email</b></td> <td width="34%"><b>some_info</b></td> </tr> <?php include('config.php'); $sql = "SELECT id From members"; if (!$get_id) { } <td><font color="#FF0000">*Your have no members</font></td>"; include('html.php'); } <tr> <td width="33%">' . $rw['id'] . '</td> <td width="33%">' . $rw['email'] . '</td> <td width="34%">' . $rw['some_info'] . '</td> </tr>'; } ?>
I think i did everything right and it still wont work
|