You should remove =
. it work like you are assigning the value.
change your code from
echo $row = ["id"] . " " . $row = ["name"] . " " . $row = ["email"] . "</br>";
to
echo $row ["id"] . " " . $row ["name"] . " " . $row["email"] . "</br>";
solved array to string conversion in php error anyone can help me with this code