Тёмный

How to Upload / Insert an IMAGE into DataBase using PHP Mysql 

Funda Of Web IT
Подписаться 63 тыс.
Просмотров 53 тыс.
50% 1

Here.. In this video.. The Uploading or inserting of an IMAGE is done in a Simple way... using PHP Code.
Note: in form tag please include.. enctype="multipart/form-data"..
bcz.. many of them miss this.. and Endup with Error.. image not storing into DataBase..

Опубликовано:

 

6 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 72   
@ninamaridelbucio4340
@ninamaridelbucio4340 3 года назад
Thank you for teaching us. You are good at explaining every codes and we understand it. Thank you very much
@excaliburgz1996
@excaliburgz1996 4 года назад
Tnx for your wonderful teaching😊😊
@irwankhanafi
@irwankhanafi 3 года назад
Verry good,,, thanks for tutorial,,,
@EmilyNilsen
@EmilyNilsen 3 года назад
An easy to follow video with clear instructions. Thank you very much for taking the time to make this tutorial. I will be saving the code for future projects!
@shanmukhpatil2220
@shanmukhpatil2220 3 года назад
THANKS BRO THIS HELP REALLY A LOT
@graphicguru5902
@graphicguru5902 5 лет назад
sir ho gyi blob se thanks alot ....and thank u for this tutorials...keep uploading
@FundaOfWebIT
@FundaOfWebIT 5 лет назад
Thanks for your Support... :-) Feel free to suggest me.. for on any new video topic... Plzz subscriber, like n Share..
@sujanshrestha-te7xt
@sujanshrestha-te7xt 3 года назад
Awesome!!! Thank You very much
@navjotsingh2457
@navjotsingh2457 3 года назад
you really helped me a lot
@DJSt3v3n
@DJSt3v3n 3 года назад
great video. Thank you!!!
@syedanidaali4561
@syedanidaali4561 4 года назад
Best tutorial on youtube! this video helped me in my project :)
@Raji-houssaine
@Raji-houssaine 3 года назад
سلام عليكم
@rayanm2175
@rayanm2175 3 года назад
fuck pakistan Palestine jinda bad
@eramperwez4617
@eramperwez4617 4 года назад
Good job done sir thanku so much ....sir please making a video during login as user input username and password then username and his pic picture showing on dashboard page using session......
@pleasefallnow5744
@pleasefallnow5744 2 года назад
hello! just wondering, why does my image corrupts after uploading the image? when i download the image from mysql database after uploading it, i cannot open it and my vscode cannot decode it either.
@AyushGupta-ke9ik
@AyushGupta-ke9ik 4 года назад
Good
@jesuscuadro228
@jesuscuadro228 10 месяцев назад
Thanks brother
@hutchinsonnathan4960
@hutchinsonnathan4960 2 года назад
It's works 👍💯
@dineshn9126
@dineshn9126 4 года назад
It showing a error like call to undefined function addslahes()..
@malshadivyanjali5250
@malshadivyanjali5250 4 года назад
what is tmp_name in the code
@ishikasharma4045
@ishikasharma4045 4 года назад
Error shows : mysqli_quert has gone away in C:wamp.... How to fix
@hamidzahid3779
@hamidzahid3779 3 года назад
if we have many images upload files what we should dooo
@AyushGupta-ke9ik
@AyushGupta-ke9ik 4 года назад
Sir last login time kese show or updated krte h admin.php pr
@Hart_TV
@Hart_TV 2 года назад
hi bro i can't upload 1MB to up file how to fix it
@bluedose4142
@bluedose4142 2 года назад
can anyone please help me! it does not work and i need it for final year project
@sohailafridy1167
@sohailafridy1167 2 года назад
Sir I need help... G video ko ham database me as a Blob data type kaisy store krty hai and show kaisy karty hai .. so please sir solve this problem thanx...
@ganeshgedela8386
@ganeshgedela8386 2 года назад
33 line iam not understanding... but output is error in 33 line ...plz explain sir
@christianfornoles8663
@christianfornoles8663 3 года назад
Question sir? No need to make a folder for image? Thank you 😊
@malikrz6154
@malikrz6154 3 года назад
no, why you need to make a folder if the image uploaded is going to the database
@Emil-ox2ge
@Emil-ox2ge 2 года назад
shit aint working anyway nigga
@Randomvideo276
@Randomvideo276 2 года назад
i did every thing but still it says data not inserted can u share the code
@comptegmail273
@comptegmail273 4 года назад
sir you have code source or github
@johnpauldelarosa2007
@johnpauldelarosa2007 2 года назад
i had this error Fatal error: Uncaught ArgumentCountError: addcslashes() expects exactly 2 arguments, 1 given in
@guglguglic3675
@guglguglic3675 2 года назад
I wrote down everything as it is and still can't upload the picture in the database. Is the problem in picture ? Can anyone help PLEASE !?
@KarthikR-lu4pr
@KarthikR-lu4pr 2 года назад
same problem facing here. can you help to solve it out?
@adnanahmedrizwanahmed5607
@adnanahmedrizwanahmed5607 4 года назад
Sir can you give source code ??
@mohammedtasiuhamzabajoga4737
@mohammedtasiuhamzabajoga4737 4 года назад
Pls upload php oop PDO video of this video
@GladsomeTime
@GladsomeTime 4 года назад
Sir data not storing then shows the else condition your image and data not stored.
@KarthikR-lu4pr
@KarthikR-lu4pr 2 года назад
same issue, can you help to solve it out? pleas!!
@maryembenbrahim5869
@maryembenbrahim5869 3 года назад
it doesn't work fom me :( it doesn't show any error ! can u please help me ? thank you !
@shaikhnabeel6443
@shaikhnabeel6443 3 года назад
is it working now? if no then, can you paste your code here?
@KarthikR-lu4pr
@KarthikR-lu4pr 2 года назад
​@@shaikhnabeel6443 Hello bro, I did the same work but i end up with the image not uploaded to the database. Can you help to solve it out? pleas!!
@1966naresh
@1966naresh 2 года назад
very good check your mail
@ronscomic
@ronscomic Год назад
at last... simple code
@032-premsunder8
@032-premsunder8 4 года назад
Bro for checking can you send source code
@prinkafernando3266
@prinkafernando3266 2 года назад
hey bro can i have source code of this insert image
@graphicguru5902
@graphicguru5902 5 лет назад
sir maine file varchar(100) likha hai??
@FundaOfWebIT
@FundaOfWebIT 5 лет назад
Nahi... jaha pe image daal rhi ho... Name: file and DataType: BLOB. instead of varchar.. BLOB daalo
@FundaOfWebIT
@FundaOfWebIT 5 лет назад
Video timing..1:30 pe dekho.. I hv tot... how to save tat.. datatype
@SaranEpic
@SaranEpic 3 года назад
bro where is part 2
@dhritirajsarma4031
@dhritirajsarma4031 3 года назад
Sir it shows image profile not upload.. I try every possible way but not able to figure out.. Can u help me sir
@allenbiju4966
@allenbiju4966 3 года назад
I had this problem as well, it depends on what structure you have saved your image as. In the tutorial, he uses the BLOB structure so if your following this tutorial you must have data structure as BLOB. If you want to change data structure go onto 'structure' in you database and change image structure to BLOB.
@graphicguru5902
@graphicguru5902 5 лет назад
sir my data is not shown in database
@FundaOfWebIT
@FundaOfWebIT 5 лет назад
Your Error is that.. your Inserting the Data but data is not getting saved into your DATABASE.. ok.. 1. Your try to upload image so check your form tag i.e: 2. Check your Database connection i.e $connection = mysqli_connect("localhost","my_user","my_password","my_db"); 3. Your Table name where your storing it. i.e.. $query = "INSERT INTO tablename" try with this
@FundaOfWebIT
@FundaOfWebIT 5 лет назад
IF your code is correct.. then check with your DataTypes into your Database.. For IMAGE -> it is BLOB Was it Helpful ?
@graphicguru5902
@graphicguru5902 5 лет назад
@@FundaOfWebIT Sir why blob??
@FundaOfWebIT
@FundaOfWebIT 5 лет назад
@@graphicguru5902 to save d file. Or image... input type=file... k liye.. I used blob..
@graphicguru5902
@graphicguru5902 5 лет назад
sir blob dalne k baad bhi nhi ho rha??
@FundaOfWebIT
@FundaOfWebIT 5 лет назад
Copy ur code.. and paste in reply me..
@rifatahmedsajeeb9908
@rifatahmedsajeeb9908 4 года назад
@@FundaOfWebIT I have same problem...
@rifatahmedsajeeb9908
@rifatahmedsajeeb9908 4 года назад
@@FundaOfWebIT my code is Upload Image body{ background-color: lightblue; } input{ width: 50%; height: 5%; border: 1px; border-radius: 05px ; padding: 8px 15px 8px 15px; margin: 10px 0px 15px 0px; box-shadow: 1px 1px 2px 1px grey; font-weight: bold; } Upload / Insert IMAGE into Database using PHP MySQL Choose an Profile Picture Enter Username: Enter Designation:
@FundaOfWebIT
@FundaOfWebIT 4 года назад
@@rifatahmedsajeeb9908 ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-QT2aFYbWP74.html
@rifatahmedsajeeb9908
@rifatahmedsajeeb9908 4 года назад
@@FundaOfWebIT Thanks its working now. I just miss php end tag ?> thats it.
@manneprakash3366
@manneprakash3366 5 лет назад
Please give the code
@FundaOfWebIT
@FundaOfWebIT 5 лет назад
Sorry to say bro.. I did not keep any backup ... Thanks for supporting me. Please Subscribe, like and share :-)
@graphicguru5902
@graphicguru5902 5 лет назад
plz help
@nydra1831
@nydra1831 9 месяцев назад
hoach amoi zua du Nudldrucka, I glaub dir hot ana ins hirn gschissn voitrottl
@abdisaweyuma6734
@abdisaweyuma6734 Год назад
It is not working bro
@anismisbahh5406
@anismisbahh5406 Год назад
its not working
@keertibhovi3727
@keertibhovi3727 2 года назад
waste of time no output "IMAGE NOT UPLOADED"
Далее
WE COOKED A SHRIMP KEBAB  #recipe #barbecue #food
00:21
Просмотров 336 тыс.
Happy 4th of July 😂
00:12
Просмотров 15 млн
How to update/edit data into database using PHP MySql
19:17
Get form data using PHP GET and POST methods
16:36
Просмотров 1,2 тыс.
How to Insert Form Data into Database using PHP
10:41
UPLOAD AND INSERT IMAGE INTO THE DATABASE HTML SQL PHP
13:27
Insert and Fetch Images From Mysql Database in PHP
10:20