I've looked everywhere and have no idea why my query wont work!
<table>
<?php
$con = mysqli_connect("127.0.0.1","root","pass","database");
$query = mysqli_query("SELECT role FROM dicetrack");
while($row = mysqli_fetch_array($query))
{
echo "<tr><td>" + $row["role"] + "</td></tr>";
}
mysqli_close($con);
?>
</table>
Im trying to record dice roles from different users. Everything seems to work fine but when i test the query in any way possible, it comes out to fail. Does anyone know what i did wrong? I've checked all spelling like 10 times and still cant find anything. Thanks in advance.