I'm trying to find a way to input an image directly onto the same page, but I can't figure it out.
The image doesn't need to be saved when navigating away from the page.
I've tried:
<form action="#" method="post">
but I still can't figure out how to actually put it where I want it.
This might be really simple and I'm just overthinking it, but I've been googling for hours with no result.
You need to leave empty form
actionand specifyenctypeExample:
This will push image into
$_FILESarray in php. For uploading images you need to view http://www.w3schools.com/php/php_file_upload.asp