Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $result = mysqli_query($con,"SELECT * FROM table");
- echo '<table width="100%" border="1px"><tr width="100%">';
- while($row = mysqli_fetch_array($result))
- {
- ?>
- <td width="10%"><?php echo $row['Name']; ?></td>
- <?php
- }
- echo "</tr></table>";
- mysqli_close($con);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment