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
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!
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
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!
@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! 😊
excelente gracias
Imazing man thanks 😊
You're very welcome!!! Thank you for watching!!!
I love you bro 🇹🇷
Thank you 🇮🇩. I hope the ongoing election in your country going well
@@DavidGTech Thank you and I wish you success.
Magnifique ! Merci for the tut'
You're very welcome! I'm glad you found the tutorial helpful.
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
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!
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
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!
I can't display uploaded img from database even I followed exactly what you did :((
Make sure that all of your codes is correct like in the video or the source code, thanks.
@@DavidGTech ey yoo this doesnt work even were have the same code
Why am i getting WARNING: mysqli_fetch_assoc. 😫
@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! 😊