20 | Connect to a Database From a Website Using PHP | 2023 | Learn PHP Full Course for Beginners

  Рет қаралды 213,947

Dani Krossing

Dani Krossing

Күн бұрын

Пікірлер: 91
@kasunkumarasinghe6365
@kasunkumarasinghe6365 Жыл бұрын
There are so many videos on the internet. But you are the one who does it correctly.
@fangyiru8602
@fangyiru8602 Жыл бұрын
thank you so much for doing this, you are so good at explaining things and honestly you are giving out so many practical scenarios that happens ALL THE TIME!! I learn so much from your videos and I will watch a lot of times to fully understand all. thank you Dani!!
@satishg6965
@satishg6965 Жыл бұрын
this course is worth for $200, but im watching it for free, Thank you Dani!
@rodgence9641
@rodgence9641 Жыл бұрын
I reaĺly like your tutorials its clean and straight forward, i started waching your tutorials 2yrs ago, pls make us upgrade to laravel even if it will be a paid course, i will appreciate that Dan. Africa is watching
@teddyYo-wf5oe
@teddyYo-wf5oe 10 ай бұрын
I have seen all of 65 episodes of PHP I love it
@AViStudioMoldova
@AViStudioMoldova Жыл бұрын
You're my mentor last 2 years! Right now i started to rebuild my old project in OOP mode, your lessons are right on time. Thanks!!!!
@davescorneroftheworld1147
@davescorneroftheworld1147 Жыл бұрын
As always this video was jam packed with information. It will take some time to decipher all of it. THANK YOU!
@igorstrzezysz9992
@igorstrzezysz9992 Жыл бұрын
Man/bro thank you so mutch, I am working at this moment at PHP project on my University in Poland and I didn't know why my app doesn't work,ed as app, know is working thank you so mucth :)
@akashgola2153
@akashgola2153 10 ай бұрын
And Another informative session from Dani 😃.
@zeppelin1qaz
@zeppelin1qaz 11 ай бұрын
Excellent. Very clear explanation. Thenk you.
@KAREKINFPV
@KAREKINFPV Жыл бұрын
I really like the flow of your videos, it's slow and methodical with plenty of explanation.
@katerinaproncheva2579
@katerinaproncheva2579 10 ай бұрын
Very helpful and explanatory 👏🏻
@Free_time_Games
@Free_time_Games Жыл бұрын
wow ! It was the most informative videos I 've ever seen 😍😍
@sebeek00
@sebeek00 Жыл бұрын
Man, first of all.. thank you for tutorials like this! But.. are you somehow related to Elon Musk?😂😂
@anasmazhar7942
@anasmazhar7942 9 ай бұрын
More like Me Beast 😅
@anasmazhar7942
@anasmazhar7942 9 ай бұрын
More like Mr Beast 😅
@siig9905
@siig9905 7 ай бұрын
This was my first thought 😂
@KevinDebruyne-n4l
@KevinDebruyne-n4l 24 күн бұрын
I also think about that
@rayfushgo
@rayfushgo Жыл бұрын
You are the best! Thank you!! ❤
@triumphadeniran7335
@triumphadeniran7335 10 ай бұрын
Thank you so much this was really helpful
@sampulcodemine
@sampulcodemine Жыл бұрын
You are doing a great job Dani. Nice contents and nice way to break concepts into simpler ideas.
@LiteralHatReloaded
@LiteralHatReloaded 8 ай бұрын
LEGEND! THANK YOU!
@Boylagak
@Boylagak Жыл бұрын
My favorite KZbin channel. ❣️
@4n7h4r4x
@4n7h4r4x Жыл бұрын
bro ngl you look like elone musk , good video ❤
@roninleo5679
@roninleo5679 Жыл бұрын
Dani i love your content man i have learned a lot from you , can you start teaching laravel a little i want to upgrade to laravel framework and it will be so nice if you started an episode for teaching laravel
@abdullahisuleimangwani6859
@abdullahisuleimangwani6859 Жыл бұрын
I like his tutorials too. I hope he will start teaching Laravel soon.
@WillemsWimMH
@WillemsWimMH 10 ай бұрын
Some question has been on my mind since a while as I am creating some system to record orders during a weekend of the sportsclub (not sure how you call it in English but with the sportsclub we have a 2-day event where we serve food). Anyway, I connect to the database as you do here. And also for the login form for the users (the people taking the orders) I do more or less the same as you do later in this course. Now I wonder, do you ever connect to the database with the specific user? Now we always connect with the root user and in fact we only check if the user logging in exists and uses the right password. But we never really connect to the database with that specific user, do we? Or do I misunderstand something? Thanks for giving this you view if and when you have some time.
@Keith-official-69
@Keith-official-69 Жыл бұрын
you are doing a great job .plz never stop cz u helped mi a lot
@samaugustinejunior5679
@samaugustinejunior5679 8 ай бұрын
I have no errors now 😌 massive tutorials
@moraaoo4889
@moraaoo4889 Жыл бұрын
funny and simple, thank you bro 👌❤‍🔥
@sonamohialdin3376
@sonamohialdin3376 Жыл бұрын
Very useful tutorial thank you
@hundesabwarkebaye
@hundesabwarkebaye 8 ай бұрын
Great👍❗
@kaelthunderhoof5619
@kaelthunderhoof5619 10 ай бұрын
I'm trying to make a salon reservation webpage, do I need an Index.html or should I only use php?
@oldumvolley
@oldumvolley 7 ай бұрын
appreciations my friend
@Abo-El-Fotoh
@Abo-El-Fotoh 3 ай бұрын
I have a question here: Isn't using naming convection for the file and variables here make it easier for a hacker to hack into the db connection file and inject his own db into our site?
@AA-fo4nd
@AA-fo4nd Жыл бұрын
I have question please answer me , if I use PDO extension Instead of mysqli , and use (mySQL) in mysqlworkbenck will it work?
@dave0
@dave0 Жыл бұрын
Thank you so much!!!!
@aaronargottelopez3488
@aaronargottelopez3488 6 ай бұрын
Thanks!
@solaraproject3614
@solaraproject3614 Жыл бұрын
I was like "Elon went back to coding?" You lowkey look like Elon Musk in some angles. Anyways. Thank you for this tutorial, youre a legend!
@BeCareful131
@BeCareful131 22 күн бұрын
Sir, Your look like ELON MUSK.
@peaklegacy146
@peaklegacy146 Жыл бұрын
Announcement! In Episode 21, we are shown how to change the username and password.
@ilovemusicchannel9191
@ilovemusicchannel9191 10 ай бұрын
thanks, i spent lots of time to find the answer and it is here “Mac need to put root for the password” thanks again
@yomammo
@yomammo Ай бұрын
useful tool exceptions truly are....
@guitarplayer1434
@guitarplayer1434 Жыл бұрын
what database would I use to house videos ?
@berrykingdomiceberry6905
@berrykingdomiceberry6905 Жыл бұрын
wonderful. please sir, how can I merge two or more database together, so they can fetch info from one database. example email, account, password etc.
@zilingchen7004
@zilingchen7004 Жыл бұрын
hi, i have face problem to show the input data in database can you help me to solve?
@angelmsigidi7806
@angelmsigidi7806 Жыл бұрын
Thanks
@kangwamark24
@kangwamark24 2 ай бұрын
I need help, whenever I try connecting to my DB it brings this error message “Connection failed: could not find driver” how do i resolve this ?
@osemekejoshua5287
@osemekejoshua5287 4 ай бұрын
Firstly thank you for this video but you didn’t do enough justice to the object classes as well as instantiate
@DenisRozon
@DenisRozon Жыл бұрын
I am able to connect on my computer localhost to the dbase, but it does not seem to read the php code when I put it online to the public server , My php form is inside my index.php file What can be be the reason?
@simoncastano_
@simoncastano_ Жыл бұрын
How can I connect with other database? for example NoSQL databases mongodb, Postgres, firebase or something like that
@Boborjan1986
@Boborjan1986 Жыл бұрын
At least postgresql would be a good addition to mention. Only mentioning two and one of them is rather a "wrapper" for others isnt sufficient. In my opinion.
@MrAgentbozo
@MrAgentbozo 8 ай бұрын
Love all the videos, however finding that for this one I'm getting this error "connection failed:sqlstate[hy000] [2002] no such file or directory". Works fine when running the php locally but not on replit.
@MrAgentbozo
@MrAgentbozo 8 ай бұрын
Any suggestions?
@incredibleman2719
@incredibleman2719 4 ай бұрын
@@MrAgentbozo delete environment
@Bikesandbmxgaming
@Bikesandbmxgaming Жыл бұрын
What happened if wanted login page on same page as sig up could teacher me
@phpcoderforever
@phpcoderforever Жыл бұрын
Thank you brother can you make an oop project then anther laravel course
@nemocedillo6185
@nemocedillo6185 11 ай бұрын
6:33 (Bookmark)
@edmfestival1253
@edmfestival1253 Жыл бұрын
Hello Dani - I am getting "Access Denied for user 'root'@localhost (using password:NO)" error. Not sure what am I missing. Can you please help me?
@tyraelzumwraek937
@tyraelzumwraek937 10 ай бұрын
This is PHP Musk 😂
@SalmanulFaris-zv6qy
@SalmanulFaris-zv6qy 7 ай бұрын
do in mysqli also please
@simplyb1178
@simplyb1178 4 ай бұрын
my holy savior
@hanLi-mx6oy
@hanLi-mx6oy 7 ай бұрын
I am want to be your student for get web developer in HTML and PHP and mysql , how much do need to spend per month ? i have bachelor dree of computer science, But i don't have a good skill in IT
@incredibleman2719
@incredibleman2719 4 ай бұрын
You can pay me, feel free to contact me. I will make you a professional developer in just three days.
@giantmedia256
@giantmedia256 2 ай бұрын
What really happens if i use the mysqli with no prepared statements
@Dani_Krossing
@Dani_Krossing 2 ай бұрын
Then people can easier hack into your database, and change it by injecting their own code. It’s fairly easy to do once you know how. So not using prepared statements, is considered a “beginner programmer” thing, since it is such an essential thing you SHOULD do every time.
@omamowhophanuel6755
@omamowhophanuel6755 7 ай бұрын
It feels like Elin Musk is teaching me PHP 🤯
@Cutebird21
@Cutebird21 11 ай бұрын
I mean most times when there was an error it was just me, Not a single thing missed!
@Noah-xn5th
@Noah-xn5th 5 ай бұрын
why not use an actual server instead of xxamp?
@waldoglas3412
@waldoglas3412 Жыл бұрын
if you say in my last video please link it please
@kennieKE
@kennieKE 8 ай бұрын
what if you are using html files
@Dani_Krossing
@Dani_Krossing 8 ай бұрын
You convert them to PHP files, by simply changing the extensions
@JohnPhilipTeston
@JohnPhilipTeston Ай бұрын
part 2
@valentinbonchev7485
@valentinbonchev7485 2 ай бұрын
12:57 this entire thing is so complicated :((((
@Dani_Krossing
@Dani_Krossing 2 ай бұрын
My best advice is that you copy all that code, paste it into ChatGPT, and ask it to “explain every piece of code in detail to a complete beginner”. 🙂 That is how developers do it nowadays, and it is an incredible tool to help you along the way.
@evansjosh7333
@evansjosh7333 7 ай бұрын
dude is Elon Musk your brother? I saw in one video admit it that he is your relative
@ixL8d
@ixL8d 5 ай бұрын
R+
@Lama_60
@Lama_60 9 күн бұрын
Today
@TheGreenOfficial
@TheGreenOfficial Ай бұрын
You talk more code less | first code and explan that only what it does and why is it thats it you talk too much ...
@Dani_Krossing
@Dani_Krossing Ай бұрын
I "teach", I don't create quick "how to's". 🙂 I'm sure there are countless of other KZbinrs who spend less time explaining things, that might suit you more then.
@andreitestmail
@andreitestmail Жыл бұрын
nice script and 0 test if it works. video ended like DUNE movie.
@Dani_Krossing
@Dani_Krossing Жыл бұрын
You are so impatient 😅 The next few videos goes over how we can use the database connection
@jediampm
@jediampm Жыл бұрын
HI, thanks for the video, however teaching or connect to DB with PDO without teaching the basic of OOP make no sense, sorry.
@chikomedia
@chikomedia Жыл бұрын
you cannot be taught everything
@Po0pypoopy
@Po0pypoopy 10 ай бұрын
WARNING to everyone!!.....he fails to mention anything about having to DOWNLOAD and install PDO...it was such a headache not knowing why my scripts weren't working as I copied exactly what he was doing but read up that PDO needs to be installed and actually "activated" within your php.ini file whenever you download php this is super confusing stuff as a beginner.....and not sure if he mentions any of this in other videos, but figured this comment would save others from a headache.
@Dani_Krossing
@Dani_Krossing 10 ай бұрын
PDO isn’t deactivated by default. I’m not sure why yours was, but it’s not something people will need to activate first. 🤷‍♂️ Maybe you are using another server application than XAMPP?
@Po0pypoopy
@Po0pypoopy 10 ай бұрын
@@Dani_Krossing I got php from the php website itself after following the w3schools link provided and noticed that non of my PDOs have an .dll ending after installing php. Also noticed that I don’t have a simple php.ini file but two : one php.ini.development(?) and the other with something else. I guess I will reinstall using xampp
@kangwamark24
@kangwamark24 2 ай бұрын
⁠@@Po0pypoopy did your script run after reinstalling using xxamp ?
SLIDE #shortssprintbrasil
0:31
Natan por Aí
Рет қаралды 49 МЛН
БОЙКАЛАР| bayGUYS | 27 шығарылым
28:49
bayGUYS
Рет қаралды 1,1 МЛН
How to Learn to Code FAST (Do This or Keep Struggling)
11:00
Andy Sterkowitz
Рет қаралды 726 М.
PHP how to connect to MySQL database
8:50
Bro Code
Рет қаралды 71 М.
Save HTML Form Data to a MySQL Database using PHP
24:38
Dave Hollingworth
Рет қаралды 221 М.
PHP Full Course for non-haters 🐘
4:00:00
Bro Code
Рет қаралды 1,8 МЛН
you need to learn SQL RIGHT NOW!! (SQL Tutorial for Beginners)
24:25
NetworkChuck
Рет қаралды 1,6 МЛН