Update Image Profile With Preview Image Before Uploaded In PHP & MySQL | Update & Preview Image PHP

  Рет қаралды 13,627

David G Tech

David G Tech

Күн бұрын

Пікірлер: 17
@NoName-yw1pt
@NoName-yw1pt 11 ай бұрын
I want to make the same thing but with 2 images. To upload 2 different images in 2 different places. How can I do it? Tried to copy the code but it doesn't work
@DavidGTech
@DavidGTech 6 ай бұрын
Hi @NoName-yw1pt! To upload and display two different images in two different places, you'll need to modify the code to handle multiple image inputs. Ensure you have two separate input fields in your HTML form and adjust the PHP code to process both files and save them to different locations. If you need more detailed guidance, feel free to ask!
@h_sammim2510
@h_sammim2510 Жыл бұрын
Imazing man thanks 😊
@DavidGTech
@DavidGTech Жыл бұрын
You're very welcome!!! Thank you for watching!!!
@checktheq7915
@checktheq7915 5 ай бұрын
Why am i getting WARNING: mysqli_fetch_assoc. 😫
@DavidGTech
@DavidGTech 5 ай бұрын
@checktheq7915 That warning usually happens when there's no result set to fetch from. Make sure your query returns results before using mysqli_fetch_assoc. Check your query and connection first. If you still face issues, let me know! 😊
@skygrace4300
@skygrace4300 Жыл бұрын
Magnifique ! Merci for the tut'
@DavidGTech
@DavidGTech Жыл бұрын
You're very welcome! I'm glad you found the tutorial helpful.
@mohanreddy8096
@mohanreddy8096 Жыл бұрын
I got different users due to Login System. image visible same for different users The issue is: It's always posting the image to the first ID. please provide modified code
@DavidGTech
@DavidGTech Жыл бұрын
Hi @mohanreddy8096, Thanks for reaching out and bringing this to my attention. I understand the issue you're facing with the Login System causing the image to always be posted to the first ID. To resolve this, you'll need to make sure that the code properly associates the image upload with the current user's ID. Without seeing your specific code, I can offer some general guidance. Please check the part of your code where you handle the user's session or login information. Ensure that you are correctly retrieving and using the current user's ID when processing the image upload. If you can share the relevant parts of your code where you handle the user login and image upload, I'd be happy to take a closer look and provide more targeted assistance. Looking forward to helping you resolve this issue!
@GökayCanYedek
@GökayCanYedek Жыл бұрын
I love you bro 🇹🇷
@DavidGTech
@DavidGTech Жыл бұрын
Thank you 🇮🇩. I hope the ongoing election in your country going well
@GökayCanYedek
@GökayCanYedek Жыл бұрын
@@DavidGTech Thank you and I wish you success.
@henrypandales
@henrypandales 5 ай бұрын
excelente gracias
@chooyinkeat2063
@chooyinkeat2063 2 жыл бұрын
I can't display uploaded img from database even I followed exactly what you did :((
@DavidGTech
@DavidGTech 2 жыл бұрын
Make sure that all of your codes is correct like in the video or the source code, thanks.
@mikevincentguzman5677
@mikevincentguzman5677 Жыл бұрын
@@DavidGTech ey yoo this doesnt work even were have the same code
Image Preview and Upload PHP and MySQL database
17:11
Awa Melvine
Рет қаралды 108 М.
Update Profile Image Using PHP & MySQL | PHP & MySQL Tutorial
14:53
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
Image CRUD In PHP & MySQL | CRUD With Image Using PHP MySQL
11:55
David G Tech
Рет қаралды 14 М.
Upload Photo Like Facebook Profile Picture With HTML, CSS & JS
8:30
Samia developer
Рет қаралды 7 М.
PHP File Uploads | The Complete Guide to Uploading Files Using PHP
19:28
Dave Hollingworth
Рет қаралды 47 М.
How to Upload Images into MySQL Database and Display it using PHP
33:26
#3.2 How to display data from database | Html, CSS, and PHP
16:05
Programming Insider
Рет қаралды 111 М.
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН