Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $sql = "SELECT * FROM Cars";
- $result = mysqli_query($conn, $sql);
- if (mysqli_num_rows($result) > 0) {
- while($row = mysqli_fetch_row($result)) {
- echo " " . $row["1"]. " ";
- }
- } else {
- echo "0 results";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement