Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <table>
- <tr>
- <td style="width:300px;">item</td>
- <td style="width:300px;">name</td>
- <td>points</td>
- </tr>
- <?php
- @include('functions/tooltip.php');
- ?>
- <?php
- $con = mysqli_connect($host,$dbuser,$dbpass,$dbname);
- if (!$con) {
- die('Could not connect: ' . mysqli_error($con));
- }
- mysqli_select_db($con,"ajax_demo");
- $sql="SELECT * FROM azer_items WHERE dp > 0";
- $result = mysqli_query($con,$sql);
- while($row = mysqli_fetch_array($result)) {
- echo "<tr>";
- echo "<td style='width:300px;'><input type='radio' name='item' value='" . $row['item_entry'] . "'></td>";
- echo "<td style='width:300px;'>";
- showstats($row['item_entry']);
- echo "</td>";
- echo "<td>" . $row['dp'] . "</td>";
- echo "</tr>";
- }
- ?>
- </table>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement