its working.. copy paste all the source code in one folder then save it in your localhost xampp folder. create a new folder inside your source code folder then name the folder "files".. create database name "testing", create table name "tbl_image" inside tbl_image create column "image_id" (int 11)auto_increment and primarykey , "image_name" (varchar 250 ), "image_description(varchar 250)"
thank you so much for you hard works, you saved our times by offering your code in the description, how ever we should know what happens in each and every steps of the code...if one person watch the full videos of your php guide. darn sure he will became a php professional. all clips have some very advance pro tips... God bless you with bright future. you made my day.
I've amended the code to include mp4 files, but there's no thumbnail. Regular images can be used as thumbnails. How can I use an image in the same way as for images?
please make video on after register login- how to create profile (photo upload option all photos save in database also profile picture - send message to admin option sms saved on database ) thank you your login and register video helpful ...
can you please make tutorial on how to write fb bot script.if u don't know what is bot search on UA-cam or google and plzz make tutorial it's interesting ☺☺
Sir,how can I change the fileSize image ? when I changed the if statement from (fsize > 2000000) to (fsize > 8000000) in index.php then ,I upload image with big size I can see the message of success, but nothing change in table results !
Hello. The script works well and i like it lots. I got no problem on my local xampp instance. If i upload it to 1&1 or better say ionos i get many times an error on the upload. Failed to load resource: net::ERR_HTTP2_PROTOCOL_ERROR Does someone has a clue or tip for me ? thanks in advance
I'm getting an error on line 7, $statement = $connect->prepare($query); "Fatal error: Call to a member function prepare() on a non-object in /home/content/21/7950221/html/php/ajaxSQL/fetch.php on line 7" Why is this not working?
I've looked on PHP website, and tried different options. From the website: (PHP 5, PHP 7) mysqli::prepare -- mysqli_prepare - Prepare an SQL statement for execution Any help would be greatly appreciated!
You see that Error because you calling query directly with different connection method make sure to keep your db.php source like this : $connect = new PDO('mysql:host=localhost;dbname=dbName', 'root', 'password'); and then try again
Sorry to say ... your tutorial is full of error ....image is not getting uploaded ...... and u have wasted my 1 hour .....the link code is also not working.......
this code work fine for me. just copy the code & create database & table as prescribe THEN create one folder name files in the directory - the files directory is the image stored
its working.. copy paste all the source code in one folder then save it in your localhost xampp folder. create a new folder inside your source code folder then name the folder "files".. create database name "testing", create table name "tbl_image" inside tbl_image create column "image_id" (int 11)auto_increment and primarykey , "image_name" (varchar 250 ), "image_description(varchar 250)"
thank you so much for you hard works, you saved our times by offering your code in the description, how ever we should know what happens in each and every steps of the code...if one person watch the full videos of your php guide. darn sure he will became a php professional. all clips have some very advance pro tips... God bless you with bright future. you made my day.
Thank you Sir....Grateful for your Great helps....!!
bro thanks.
a successful work.
All in all it is working. I even added a new function into this code. Thanks for the wonderful tutorial!
best tutorial,thanks so much
I've amended the code to include mp4 files, but there's no thumbnail. Regular images can be used as thumbnails. How can I use an image in the same way as for images?
Hello Sir,
Excellent tutorial.
I request you Please make a tutorial for mysql trigger function in php.
thank you.
감사합니다. very good work. and kind detail explain movie (:; 감사합니다. 선생님.
Thank You sir, You solve my problem...Thanks A lot
Great Tutorial, subscribed already. Could u add "crop feature" in this. Thanks
How can i combine this with registration form? So user can upload photo in the moment of the registration?
Thank you, you helped me a lot... congratulations
please make video on after register login- how to create profile (photo upload option all photos save in database also profile picture - send message to admin option sms saved on database ) thank you your login and register video helpful ...
hi thanks for your video but i would like to ask how to erase the jpeg or png on the image name
Hello Thank you for great Tutorial.. HOW DO I ADD STOCK ID along with multiple images ..Please help
thanks a lots
that's awesome tutorial
Sir I want to store few color values using checkbox in mysql.
How I store multiple value and get multiple value like
php.ini can be edited locally for max filesize, but when you upload your code to a hosting site, their settings are not available for this setting.
Once the image is uploded, how can you add code to make it zoom 'onclick'?
Use the MODAL fitur in bootstrap :)
can you please make tutorial on how to write fb bot script.if u don't know what is bot search on UA-cam or google and plzz make tutorial it's interesting ☺☺
sir make tut how to create video live streaming website...
It's a computer
Intelligent and exciting
hi webslesson i need how to mâke table operator with jquery send me code or make tuto vidéo for how to make
Can I make this project on laravel?
good
Hello sir ..I want to add my product_id also ..how can i do ...
why there's no image showing whenever i uploaded a pic??
pls help
same problem here plz help me
I had the same issue but I forgot to add the folder 'files'.
same problem did u get any answer
Awesome
огромное спасибо все работает
Excellent tutorial. Code works great!!! Thanks a lot. It just what i needed!
can I get the full source code?
Sir,how can I change the fileSize image ? when I changed the if statement from (fsize > 2000000) to (fsize > 8000000) in index.php then ,I upload image with big size I can see the message of success, but nothing change in table results !
dude just go php ini in your xampp folder and change file upload size it must be 2M make it 20M and above php max size to 64M
Did anyone know how to edit/update if it is involve pdf file?
Please sir make more tutorial on Laravel5.5 ajax
Hello. The script works well and i like it lots.
I got no problem on my local xampp instance.
If i upload it to 1&1 or better say ionos i get many times an error on the upload.
Failed to load resource: net::ERR_HTTP2_PROTOCOL_ERROR
Does someone has a clue or tip for me ?
thanks in advance
help me , why my edit button not working ? why my image not showing ? 😭😭😭😭😭😭
whats the matter with the voice it destroy you tutorial wich is by the way super interesting...
does not work
Why your webpage www.webslesson.info is not working?
There is some hosting issue, now it is working properly,
I'm getting an error on line 7, $statement = $connect->prepare($query);
"Fatal error: Call to a member function prepare() on a non-object in /home/content/21/7950221/html/php/ajaxSQL/fetch.php on line 7"
Why is this not working?
I've looked on PHP website, and tried different options. From the website:
(PHP 5, PHP 7)
mysqli::prepare -- mysqli_prepare - Prepare an SQL statement for execution
Any help would be greatly appreciated!
Check your query statement very well
ERROR: Call to a member function execute() on a non-object
You see that Error because you calling query directly with different connection method
make sure to keep your db.php source like this :
$connect = new PDO('mysql:host=localhost;dbname=dbName', 'root', 'password');
and then try again
Sorry to say ... your tutorial is full of error ....image is not getting uploaded ...... and u have wasted my 1 hour .....the link code is also not working.......
do you solve it?
I mean image upload. I have same issue than you
this code work fine for me. just copy the code & create database & table as prescribe THEN create one folder name files in the directory - the files directory is the image stored
23:17 not working
does not work