this helped me alot. i was struggling for hours on how to do this heck i didnt even know the proper syntax. thank you!
@ShaikSohail-l7z Жыл бұрын
Great Problem solving skills. Thanks for making this video ....
@DavidGTech Жыл бұрын
Thank you so much for your kind words! I'm really glad to hear that you found the video helpful and that it helped you improve your problem-solving skills. If you have any more questions or if there's anything specific you'd like to see in future videos, please don't hesitate to let me know. Your feedback and suggestions are greatly appreciated. Thanks again for watching!
@mortalanzang75672 ай бұрын
Thank very mush for this tutorial! I have find what i need for long time! Good Job
@themidev Жыл бұрын
100% working
@DavidGTech Жыл бұрын
Great!!! Thanks for watching!!!
@fxdeking Жыл бұрын
mantap, sangat bermanfaat
@khalilbassem8094 Жыл бұрын
Thank you very much for your video its help me
@DavidGTech Жыл бұрын
You are welcome!!! Thanks for watching!!!
@arunkumar-mm2nf2 жыл бұрын
thanks for this video.. very usefull
@DavidGTech2 жыл бұрын
You're welcome!!! Thanks for watching...
@danielxzmlvn Жыл бұрын
Really Really thank you God bless you!!!
@DavidGTech Жыл бұрын
You're much welcome! God bless you too.
@ahmedhasan4893 Жыл бұрын
tysm sirr, thanks alot ur video helped me alot thnx
@DavidGTech Жыл бұрын
You're very welcome! I'm thrilled to hear that the video was helpful to you and that you found success with the image upload and display using PHP and MySQL. If you have any more questions or need further assistance, feel free to ask. Keep up the great work, and happy coding!
@Maram_71 Жыл бұрын
God bless you Thank you for this amazing video 🙏🏾 I have q, can we do the same way for pdf files? I mean when user upload pdf file can I as admin see the content of the pdf file? Thank you again.
@DavidGTech11 ай бұрын
Thank you so much for your kind words and blessings! 🙏🏾 I'm glad you found the video helpful. Regarding your question, the process for handling PDF files is slightly different, but it's definitely possible. You can create a similar system where users can upload PDF files, and as an admin, you can access and view the content. For security and privacy reasons, it's important to implement proper validation and handling mechanisms to ensure that only authorized individuals can access sensitive information within the PDFs. If you're interested, I can create a tutorial on how to implement this feature with PDF files. Let me know if that would be helpful to you and others in the community. Thanks again for your support! 🙌
@nurbainggit Жыл бұрын
Makasih bng
@DavidGTech Жыл бұрын
Iya, masama
@yoursricky67052 жыл бұрын
thank u dear ......
@DavidGTech2 жыл бұрын
You're welcome!!! Thanks for watching...
@MohitKumar-jg4ry2 жыл бұрын
thank you, for the information you share.
@DavidGTech2 жыл бұрын
You're welcome!!! Thank you for watching...
@gekindah-o9c Жыл бұрын
makasi banyak ya kak... semoga sekeluarga selalu dalam lindungan tuhan yang maha kuasa😇🙏
@DavidGTech Жыл бұрын
Iya, sama-sama. Aminn. GBU!!!
@muliayasman4718 ай бұрын
bg, saya kok ngestuck di No such file or directory in bg@@DavidGTech
@abdinoormohamed-t2h10 ай бұрын
thanks great problem solving
@DavidGTech9 ай бұрын
Welcome 👍
@rome38853 ай бұрын
thank you very much good sir
@VivekChauhan-c9f7 ай бұрын
Thank you boss
@DavidGTech5 ай бұрын
Hi @user-tq1ol4xj2e, You're welcome! 😊 Any time!
@chris-zlrr2 жыл бұрын
u just saved so many braincells of me
@DavidGTech2 жыл бұрын
Haha, good for you. Thank you for watching...
@keertibhovi37272 жыл бұрын
Thank you so much🙂
@DavidGTech2 жыл бұрын
You're welcome!
@dhruvsharma11726 ай бұрын
thankyou bro, can you tell me how to call these images dynamically to my code
@DavidGTech5 ай бұрын
Hi @dhruvsharma1172, Thank you! 😊 To call images dynamically in your code, you can store the image paths in your database and retrieve them using PHP. This way, you can loop through the database records and display each image accordingly. I'll consider making a tutorial on this. Stay tuned!
@syedumar3806 Жыл бұрын
thank you
@DavidGTech Жыл бұрын
You're very welcome. Thanks for watching!!!
@haileeko1952 Жыл бұрын
thanks
@DavidGTech Жыл бұрын
You're welcome! Thanks for watching!!!
@cuongdo2819 Жыл бұрын
Thank you very much
@DavidGTech11 ай бұрын
You're very welcome!!!
@sk.rahathossain30842 жыл бұрын
Thanks a lot.I do it at my first try after watching your video
@DavidGTech2 жыл бұрын
Nice! You're welcome bro
@jagtishkumarsundararaman60892 жыл бұрын
hello, thanks for this video, I would ask you for help. I have problem with the coding on the upload image. the image was save on the database but the file name does not appear on the database .
@DavidGTech Жыл бұрын
I'm glad you found the video helpful! Regarding the issue you're facing with the file name not appearing in the database after uploading the image. Please review the PHP codes that responsible for uploading the image and saving the file name in the database. Make sure you are correctly capturing the file name and inserting it into the appropriate database column. Verify that you are using the correct variable or value to store the file name in the database.
@yogamplanets5 ай бұрын
Sir, please make a video multiple images CRUD in php? Please 🎉
@shabnam41522 жыл бұрын
Sir aap background music lganai ki jugah code ko smjhao taki humein bhi smjh aye yeh kesai work karta hai
@purnabratamukherjee39032 жыл бұрын
you can also do it....you just need to learn php and mysql...
@kylerequez13152 жыл бұрын
Hi thank you for this video, why does it echo "Image File Size is Too Large" when the database adds the image inside the table?
@DavidGTech Жыл бұрын
That means your image file size is exceed the maximum file size that have been set in the code
@richardgideon4959 Жыл бұрын
Bro pls send me the source code
@amitmeerchandani4704 Жыл бұрын
check description@@richardgideon4959
@DNux-l3m9 ай бұрын
Great tutorial, but in php7.4 the data.php, there is an error :>--"Warning: Invalid argument supplied for foreach() in ..\uploadimagefile\data.php on line 22"-- seems need to be reprogram that part. can you help with that>.Thanks
@DavidGTech5 ай бұрын
Hi @user-sr5yn3cj1p, Check if the variable $data is an array before using foreach to avoid the warning. Here’s an example: if (is_array($data)) { foreach ($data as $item) { // Your code here } } else { echo "No data available"; }
@artcraftlover30827 ай бұрын
Hey, i want to Upload images in my server, not in my Computer Folder ,?????
@DavidGTech5 ай бұрын
Hi @artcraftlover3082, To upload images to your server instead of a local folder, you need to specify the server directory path in your PHP code. Make sure your server has write permissions for the directory where you want to save the images. Hope this helps! 😊
@erpetek5 ай бұрын
oops, i think i just called my file '); DROP TABLE `users`; -- on accident 😇
@helenamedeiros8601 Жыл бұрын
hey, i just copied the code from your gdrive folder, and created the database just like yours, but when i upload the imagem i cant see it, i just see the name of the file. :( could someone help me?
@DavidGTech Жыл бұрын
Make sure that all of your codes are and database (including table and field name) fully correct. You can download the source code (including the database) in the description of video. Thanks.
@hmifjk11 ай бұрын
mine shows undefined array key image what is that
@Preshdev2 жыл бұрын
jah bless
@DavidGTech2 жыл бұрын
Thank you for watching!
@markjosephignacio46782 жыл бұрын
Sir i have a question, do i need to create a designated folder for all the image i want to upload? i can insert all the data in the data base but when i try to view it at my the website image cant be posted there? or how can i fix it ?
@DavidGTech Жыл бұрын
Yes, to display the uploaded images on your website, you typically need to create a designated folder to store the uploaded images. Here's what you can do to fix the issue: 1. Create a folder: Choose a location on your web server where you want to store the uploaded images. Create a folder in that location, and make sure it has appropriate read and write permissions so that the web server can access and store the images in it. 2. Update file paths: In your PHP code, ensure that you are correctly specifying the file path to the folder where the images are stored. Update the file paths in your code to match the folder structure and location you created in step 1. This allows your PHP code to save the uploaded images to the designated folder. 3. Displaying the images: When retrieving and displaying the images on your website, ensure that you are using the correct file paths to access the images from the designated folder. Check that the paths in your HTML or PHP code point to the correct location where the images are stored.
@footballclips5013 Жыл бұрын
@@DavidGTech it uploads the image to the database but it doesn't store it in any folder
@HDROID2 жыл бұрын
i have a question, why when i upload a image doesnt show just show the image name
@DavidGTech2 жыл бұрын
It looks like there are some missing codes in your code. Make sure your code is fully complete like in the video
@HDROID2 жыл бұрын
@@DavidGTech ok thanks
@DavidGTech2 жыл бұрын
You're welcome!!
@dmerryshyllachannel5782 Жыл бұрын
Sir, i have one problem when i view my website it appear only the name of image, how can i create a forder for that i have uploaded successful? Please answer my question
@dmerryshyllachannel5782 Жыл бұрын
Inside your code in index. Php what about document. location. href inside script... I don't understand
@DavidGTech Жыл бұрын
Hello! It seems like you are facing an issue where only the name of the image is being displayed on your website, and you would like to create a folder to store the uploaded images. I can help you with that! To resolve this, you can follow these steps: 1. Create a folder on your server where you want to store the uploaded images. You can do this either through your hosting provider's file manager or by using an FTP client. 2. After creating the folder, make sure to set the appropriate permissions for it. Generally, you can set the folder's permissions to allow read, write, and execute access for the web server. This ensures that the server can store and retrieve files from that folder. 3. Update your PHP code that handles the image upload to save the uploaded image to the newly created folder. You will need to modify the code that specifies the destination directory for the uploaded file. Instead of just using the filename, include the folder path as well. For example, if your folder is named 'uploads,' you can specify the destination directory as 'uploads/filename.jpg' or 'path/to/uploads/filename.jpg,' depending on the folder structure. 4. Finally, update your website code that displays the images to include the folder path as well. In your HTML code, make sure that the 'src' attribute of the image tag points to the correct folder and filename. For example, if your image is stored in the 'uploads' folder, the 'src' attribute should be something like 'uploads/filename.jpg.' By following these steps, I hope you can be able to store the uploaded images in a specific folder and display them correctly on your website. Thank you!
@DavidGTech Жыл бұрын
In JavaScript, document.location.href is a property that returns the complete URL of the current webpage. It can also be used to redirect the browser to a different URL
@dejannikolic22372 жыл бұрын
Hello, thanks for this video. I would ask you for help. The picture that I uploaded I put in the DIV tag.Below the picture in that DIV is a button-bootstrap modal.I want that when I click on the button, some information about the image appears on the screen.but the problem is that I only get the data for the last uploaded image.how the button displays information about the image that was clicked.Thanks.
@DavidGTech Жыл бұрын
Thank you for your comment and I'm glad you found the video helpful! Regarding your question, I understand that you're facing an issue with the Bootstrap modal displaying information about the image that was clicked, and currently, it only shows data for the last uploaded image. To make the button display information about the specific image that was clicked, you'll need to modify the code in your PHP and JavaScript files. Here's a general approach you can follow to achieve this: - In your PHP file (responsible for uploading images and saving data to the database), make sure to save an identifier for each uploaded image in the database, such as its filename, a unique ID, or any other reference that can uniquely identify the image. - In the same PHP file, include this identifier as a custom attribute (e.g., data-image-id) in the HTML markup for each image that is being displayed on the page. This way, when you render the images on your webpage, they will have this unique identifier associated with them. - In your JavaScript file, write a function that handles the click event of the button in the Bootstrap modal. When the button is clicked, retrieve the value of the data-image-id attribute from the corresponding image, and use this ID to fetch the relevant information from the database (using AJAX, for example). - Once you have the information, dynamically update the content of the Bootstrap modal with the relevant details, such as image description, title, or any other data associated with the clicked image. If you need more specific help with the code implementation, feel free to ask. Good luck with your project, and I hope this helps you resolve the issue!
@abhishekdubey94246 Жыл бұрын
only one file is uploaded. i am not able to upload more than one file
@DavidGTech Жыл бұрын
I have made the tutorial video to upload more than one file. You can watch this = kzbin.info/www/bejne/gYPLfZtuis6MoM0 Thanks for watching!
@CharlesAnimation111 ай бұрын
Bruh i subscribe to you ,can you can add some Css for this code.
@DavidGTech11 ай бұрын
Hey @user-cp4zc7bs9s, Thanks a ton for subscribing! 🚀 While I won't provide the CSS directly, you can find fantastic design inspiration on platforms like CodePen (codepen.io) and CSS-Tricks (css-tricks.com). Search for "upload form" or "file input design," and you'll discover a variety of styles to suit your taste. Feel free to explore these resources and integrate a design that resonates with your website's vibe. If you run into any issues or have questions along the way, I'm here to help! Happy coding! 😊🎨
@izz91173 ай бұрын
orang malaysia ke indonesia?
@DavidGTech3 ай бұрын
Indonesia 🇮🇩 😁
@DanielNazarioOliveiraDeSouza9 ай бұрын
One video, sem voz
@DavidGTech5 ай бұрын
@DanielNazarioOliveiraDeSouza Olá! Se precisar de legendas ou alguma forma de compreender melhor o conteúdo do vídeo, sinta-se à vontade para pedir ajuda. Estou aqui para ajudar da melhor maneira possível!
@bocoraninfoslothariini Жыл бұрын
hai kak apakah ini aman dari shell code inject kak?
@DavidGTech Жыл бұрын
Denger2 sih katanya lebih baik pakai PDO untuk koneksi PHP ke MySQLnya itu
@bocoraninfoslothariini Жыл бұрын
@@DavidGTech baik mas terimakasih informasinya
@lebrongerms47972 жыл бұрын
Source code? Please
@DavidGTech2 жыл бұрын
Watch the video
@bijoyadas7322 Жыл бұрын
This codes r suffeled, so we can't see... Please!!! Work on this, then it will be helpful for others...
@DavidGTech11 ай бұрын
Hi @bijoyadas7322, Thank you for your feedback, and I appreciate your input. I apologize for any confusion caused by the arrangement of the code. To make it more accessible and easier to follow, I'll work on organizing the code better in the video description or as a pinned comment. This should help others navigate through the code seamlessly. I appreciate your patience, and I'll make the necessary improvements as soon as possible. If you have any specific questions in the meantime or need clarification on any part of the code, please feel free to ask. Thanks for bringing this to my attention, and I'm committed to making the tutorial as helpful as possible for everyone.