When using MySQLi, do I have to perform a kind of while loop where the actual data from the query is put into a variable array?
$conn = new
If there is only one row, you don't need the loop. Just do:
$row = $rs->fetch_assoc(); $name = $row['name'];