Hello techie... I think for multiple images ,consider hashing the image names or generating some random figures for each image it would help when one tries to upload similar image name and type so to avaoid redundancy
I am sorry. I can't donate to your Patreon. I want to but I can't. I am just a student. I like your video. It helps me a lot. If I graduate and got a dissent job, I will support your Patreon. But for now I will subscribe to your channel and like videos. Thank you!
i have a question if somebody can help me im doing a proyect almost like a store i have to put images in cards to display for the costumer using an admin view the problem is when i try to call the image from the database to to be shown in the card it doesnt work it just appears an icon of a little paper with green
img_dir is stored in php myadmin but / is missing that is why it is not showing up in the display.php. any help? i used print_r to see the img_dir. it is upload/pic.jpg. but / is not stored in phpmyadmin. any help plz?
You could do better. You could store the image data in BLOB type and retrieve it directly. Why need to store it in some directory? And you ask people to pay you and you show them this.
Hello, I have a question. Is it possible to generate a link after uploading the image? What I mean is I would like to upload a image to the database and have a link generated so when I go to that link it will display that image and nothing else?
Hi. please can you do a tutorial to show how one can display an image dynamically on one's website from an online database registration page where you don't have the images locally on your computer. Thank you.
Excuse me! Can we add some other form fields (e.g. description, address, email..) to the multiupload insert them to the database too? if yes, how can we do that? Thank you!
Gam Nguyen create another table and upload form with the .txt holding the information and rinse and repeat with the images. You will have to tweak it to the new table and .txt extension
@@productivearab9438 Thank you! Please confirm if I understand correctly: You mean I should create two tables, linking them using foreign key, then insert the text form data in one table and the images in another table?
"How to insert images to MySql..." I'm still waiting for you to show this, as you only inserted their names. Why do lie to ppl in the title of your video...?
Insert in the bd images isn't a good idea, although you can do it but is a bad practice. With mysql only inserted the name not the images. Imagine for a second that u' insert in your db thousands images.... The bd colapse. At the first seconds of the video he was create two folders, local and web.. Web is the folder that you have in your server (proyect folder), it's where u' insert your images. And in the bd you insert the name for this images.
Sir, this is very helpful, sir i need this code, i will pay but i am from pakistan and there is no system of paypal, so can you please also share the source code,it will be very kind of you ! Thanks
Hello techie... I think for multiple images ,consider hashing the image names or generating some random figures for each image it would help when one tries to upload similar image name and type so to avaoid redundancy
What is the point of a tutorial where you copy code from somewhere else you've written that you expect us to pay for?
Thank you.
saved from watching his video
LOUDER
saved 15 minutes.
I laughed when they wanted $5 for the source. OMG how lame. I am sure I can find it somewhere else for free. Thanks for nothing Clever Techie. ROFLOL
Great tutorials ; Clever Techie will be missed .
Hello techie... I think for multiple images ,consider hashing the image names or generating some random figures for each image it would help when one tries to upload similar image name and type so to avaoid redundancy
Good job. Well done. I have learned a lot with you. (And I am 64 )
ya it is a nice video but you can check also this y2u.be/Hf8bJiRBPio
Clever Techie has contributed a lot to the online free learning so thumbs up and thanks.
Nice, very useful video! I will look through your other tutorials too!
Thank you so much! Your $img_dir variable demonstration at the 5:00-6:00 mark helped me resolved my display image dilemma!
I am sorry. I can't donate to your Patreon. I want to but I can't. I am just a student. I like your video. It helps me a lot. If I graduate and got a dissent job, I will support your Patreon. But for now I will subscribe to your channel and like videos. Thank you!
Do you know how can i save to xampp to a table name results, to have a row by id of user?(user is another table)
i have a question if somebody can help me im doing a proyect almost like a store i have to put images in cards to display for the costumer using an admin view the problem is when i try to call the image from the database to to be shown in the card it doesnt work it just appears an icon of a little paper with green
bro i couldn't get the source code
How to align images ??
Like i want 4 images in 1 row next 4 images in 2nd row
Thanks and its work for my project but i cant upload my image using safari(ios Browser) when i upload it in my webhost
12:32
Why not to use Factory inside the while loop?
DONE! thankyou 😁👍
nice video you can also check this one too y2u.be/Hf8bJiRBPio
how to download ur source code?
Cette vidéo m'a été très utile !
When I send more than 20 images together, only the first 20 images reach the database. What is the solution?
Fatal error: Uncaught Error: Call to undefined function reArrayFiles() - why?
img_dir is stored in php myadmin but / is missing that is why it is not showing up in the display.php.
any help?
i used print_r to see the img_dir. it is upload/pic.jpg. but / is not stored in phpmyadmin. any help plz?
You could do better. You could store the image data in BLOB type and retrieve it directly. Why need to store it in some directory? And you ask people to pay you and you show them this.
awesome video nice programming tutorial
Can you create a vedio for creating the image slide show with same method plz
how can i put this in a form along with other information ???
thanks. I want to hug you man
love you :)
God bless you
You don't insert images, just their path...
how can i do that
@@theekingyodah1431, images' data is in the form of byte array. Save that in images table data column and you'll be fine ;)
Hello, I have a question. Is it possible to generate a link after uploading the image? What I mean is I would like to upload a image to the database and have a link generated so when I go to that link it will display that image and nothing else?
You can add more image field in one table
Hello bro, I would like to ask you to kindly teach how to retrieve students marksheet with profile image. Thank you.
We are here to learn. We don't want to copy your existing code from somewhere. Why you edited the existing code? Not recommended for beginners.
Great Tutorials, can you do it in videos except images?
Good to know :)
how to in this code get image size extension and format
Good job. God bless you.
How to store finger print using arduino
can u do display if image is click
thx man you helped me
А что просто путь прописать в БД нельзя на картинку?
Hi. please can you do a tutorial to show how one can display an image dynamically on one's website from an online database registration page where you don't have the images locally on your computer. Thank you.
hey anthony, do you find solution to your question yet? I need help on it too. if you do, please share
@@onadiranbayonle2368 I'm also finding a problem with this, if u have gotten a solution plz help me out
Firebase could be the answer to what you guys are looking for maybe?
@@bashmunir3928
check this out, does it answer your question
if(isset($_FILES['image'])){
$generalError = '';
$fileName = $_FILES['image']['name'];
$fileSize = $_FILES['image']['size'];
$fileTmp = $_FILES['image']['tmp_name'];
$fileType = $_FILES['image']['type'];
$fileExt = strtolower(pathinfo($fileName, PATHINFO_EXTENSION));
$extensions = array('jpeg', 'jpg', 'png');
if(! file_exists($fileTmp)){
$imageExisteneceError = 'choose image file to upload';
}
elseif(! in_array($fileExt, $extensions)){
$imageExtensionError = 'please choose the image which has the as jpeg, jpg, png';
}
elseif($fileSize > 1000000){
$imageSizeError = 'sorry, file should not be than 1MB';
}
else{
move_uploaded_file($fileTmp, "blogPhotoUpload/".$fileName);
$insertBlogPostQuery = "INSERT INTO blogpost (post_title,post_image, post_content) VALUES ('$postTitle', '$fileName', '$postContent')" ;
$result = mysqli_query($conn, $insertBlogPostQuery);
if (!$result) {
die ('query failed');
}
u just doing business here.. u didnt even show us code.. this is not tutorial .. dislikes
can you style the images and make them be in one table with proper arrangement..
NICE VIDEO
Echo is used to write HTML using PHP so just do CSS in the echo elemenets
How do I add text to speech into it
can this code be use in notepade ++?>
If you want to create tutorial please do not use copy and paste
Because we didn't have a clear understanding of it
Excuse me! Can we add some other form fields (e.g. description, address, email..) to the multiupload insert them to the database too? if yes, how can we do that? Thank you!
Gam Nguyen create another table and upload form with the .txt holding the information and rinse and repeat with the images. You will have to tweak it to the new table and .txt extension
@@productivearab9438 Thank you! Please confirm if I understand correctly: You mean I should create two tables, linking them using foreign key, then insert the text form data in one table and the images in another table?
nice tutoriai video
Rip to newsletter, press F
You are a king :3
Thank You
Can somebody post the code on comment. haha. I'am broke right now
"How to insert images to MySql..." I'm still waiting for you to show this, as you only inserted their names. Why do lie to ppl in the title of your video...?
Insert in the bd images isn't a good idea, although you can do it but is a bad practice. With mysql only inserted the name not the images. Imagine for a second that u' insert in your db thousands images.... The bd colapse. At the first seconds of the video he was create two folders, local and web.. Web is the folder that you have in your server (proyect folder), it's where u' insert your images. And in the bd you insert the name for this images.
does not work
thanks bro
Welcome
bro can u plzz give the source code
i really appreciate ur work
At 9:56 i think "missing echo" .... 10:05 voila... :-)
;)
link source code pls^^
Sir, this is very helpful, sir i need this code, i will pay but i am from pakistan and there is no system of paypal, so can you please also share the source code,it will be very kind of you ! Thanks
paypal is online could be use anywhere xoxo
Don't bother. Unless you want to pay for the source code.
I tried storing the image as a BLOB in MySql, but the server kept timing out on and insert. That led me to this video.
this is video good
nice ❤❤
you have a cold, don't you??😅😂
bro i got this why this would happened?:Uncaught Error: Call to undefined function reArrayFiles()
Mistake from 1st line :( 🤦♂️
unlike an report from me to paying you for code
Dude Can You Do Pdf files
how to get source code?
Subscribe to my patreon - patreon.com/clevertechie
waste of time
❤
just wast of time
not good teacher
time wasting
noob, so much confusion
,
kkkkkkkk this is marketing
Hi
That nose is killing me
9:56 10:05
Delete this video bro 😂😂
Hello techie... I think for multiple images ,consider hashing the image names or generating some random figures for each image it would help when one tries to upload similar image name and type so to avaoid redundancy