Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //make connection
- mysql_connect('ukln025.nitrado.net','ni1197930_5_DB','gK4tSWdhCUDF')'
- //select db
- mysql_select_db('ni1197930_5_DB');
- $sql='SELECT * FROM players '
- $records=mysql_query($sql);
- ?>
- <html>
- <head>
- <title>MY STS</title>
- </head>
- <body>
- <table width="600" border="2" cellpadding="1" cellspacing="1">
- <tr>
- <th>UID</th>
- <th>name</th>
- <th>pid</th>
- <th>cash</th>
- <th>bankacc</th>
- <th>coplevel</th>
- <th>mediclevel</th>
- <th>civ_licenses</th>
- <tr>
- <?php
- while($players=mysql_fetch_assoc($records)){
- echo "<tr>";
- echo <td>".$Profile['UID']."</td>";
- echo <td>".$Profile['name']."</td>";
- echo <td>".$Profile['cash']."</td>";
- echo <td>".$Profile['bankacc']."</td>";
- echo <td>".$Profile['coplevel']."</td>";
- echo <td>".$Profile['mediclevel']."</td>";
- echo <td>".$Profile['civ_licenses']."</td>";
- echo "</tr>";
- }//end while
- ?>
- </table>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement