If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Enjoy an ad free experience by logging in. Not a member yet? Register.

Pass variable from page to page

Can anyone please tell me how should i pass the variable from login.php to display.php ? In my system, when users input their username, their display image will be shown in next page. but i just can't figure out how do i pass the input username from login.php to display.php although i read so many online solving. Can anyone please help or give me some hints perhaps ? Thank you so much for spending time to help me ^^

Thank you so much for helping. It finally pass the variable. but, there is another problem which the image just doesn't get displayed.

Is it because my query error ? or this line got error ?

PHP Code:

header('Content-type: image/jpg')

but when i change "image/jpg" to "customer/jpg", it started to download the display.php... so i think it's not the reason that the picture doesnt display. It just shows a icon which the picture is tease into half mean that cant be displayed.