<?php
$mysqli = new mysqli('localhost','root','*****','db');
$query = $mysqli->query('SELECT * FROM mytable');
?>
I was wondering as to how I would print out the result of my sql query. Let's say I have 1 row of data and 1 column. How would I get that to print out on the page?