Hello Daniweb,,
I have uploaded an image using the student_id as its filename. The student id is auto-incremented and unique per student_id. Now i am confused why it gives me problem to display it. I have tried.
<?php print '<img src="uploads/'.$session_id.'" />' ?>
<?php print '<img src="uploads/'.$session_id.".".$ext'" />' ?>
<?php print '<img src="uploads/'.$student_id.'" />' ?>
<img src='uploads/".$actual_image_name."' class='profile-photo' align="middle"> //where $actual_image_name = $student_id.".".$ext;
but still the image wont display