Hello friends,
I search for a solution for uploading an image without refreshing
the current web page. If I use post
method for posting it will refresh the page.
I have found many scripts form the internet and some of them
are very complex. Anyway, I manage to produce very simple scrip for this.
In addition,
I’m sending the uploaded image URL to MySQL data base for
future usage and you can see how I use session variable that crated and populate
in the user login.
Technologies used
AJAX
JQUERY
PHP
MYSQL
Hope this help any one need this.
Thank you.
index.php