I get a warning message telling me that mysql_fetch_row expects a resource for parameter 1 and I gave it an object.
<?php
$con = new mysqli("localhost", "root", "abc123", "profile");
if (mysqli_connect_errno()) {
printf("Connection failed: %s\n", mysqli_connect_error());
exit();
}
$sql = "SELECT * FROM members WHERE member_id = 1243433";
$res = mysqli_query($con,$sql);
$row = mysql_fetch_row($res); // error here
print_r($row);
mysqli_close($con);
?>
Just change it to
mysqli_fetch_row