I'm trying to upload an image to my database and retreive it later for use.
I've got this all working but when I'm on the page where it shows the image I can't use : header("location: ../Home/Home.php");
anymore. It says :
Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\Helpdesk SALTO\Helpdesk\Melding\VMelding.php:66) in C:\wamp\www\Helpdesk SALTO\Helpdesk\Melding\VMelding.php on line 114
It is being send by my image an echo of : img height ="300" width="300" src="data:image;base64,'.$row2["image"].'
$row2["image"]
: contains largeblob information of the image in my database.
Is there another way to redirect to another page ?
If not:
is there a way for me to still show the image without it using header information ?