Question: I do expect that user details show up when I get redirected to this file profile_hndl.php, however, I get a white screen, and only the

I do expect that user details show up when I get redirected to this file profile_hndl.php, however, I get a white screen, and only the header and footer show up.

No errors show up in the console. DB should be working as expected and below rows are correct. Any clue?

ProjectX

include 'partials/dbconnect.php';

include 'partials/signup_handl.php';

include 'partials/signupmod.php';

$pid= "pid";

$email = "uemail";

$username = "stt";

$city = "cit";

echo'

';

$sql="SELECT * FROM `user` WHERE email = '$email'";

$result = mysqli_query($conn,$sql);

while($row=mysqli_fetch_assoc($result))

{

$pid=$row['pid'];

$email=$row['email'];

$username=$row['username'];

$city=$row['city'];

echo '

'.$email.'

Username : '.$username.' City : '.$city.'

';

}

?>

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!