Is there any function in PHP that just prints result of mysqli_fetch_array() as it is on the browser? I want to use it just for checking results of various test queries.
I want to print r
in the code below
if($db){
echo "connected";
}
$sql = "select student.Name, student.Branch, student.RollNo FROM student INNER JOIN students_placed ON student.StudentUserId = students_placed.StudentUserId";
$result = mysqli_query($con,$sql);
$r = mysqli_fetch_array($result);
?>