Тёмный
No video :(

How to Connect to a Database by Using PHP PDO 

Alex
Подписаться 9 тыс.
Просмотров 15 тыс.
50% 1

In this tutorial, I show you how to connect to a database by using PHP PDO.
LINKS
Files
github.com/alm...
PDO Attributes
php.net/manual/...
AFFILIATE STUFF (thank you for the support!)
💰 I am an Amazon Affiliate and by using these referral links you can support this channel.
HTML & CSS Book (recommended): amzn.to/2vGYBEa
Javascript & jQuery Book (recommended): amzn.to/2vGiXNM
PHP Book: amzn.to/2uGQQ3O
DELL XPS 15 (my laptop): amzn.to/2fJEQaQ
Blue Yetti Microphone (my mic): amzn.to/2w06eb8
Amazon Echo: amzn.to/2fJGKbx
Amazon Echo Dot: amzn.to/2wO4ejJ
Thank you for using these links!

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

 

23 авг 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 32   
@hilarystewart94
@hilarystewart94 6 лет назад
YOU ARE ABSOLUTELY AMAZING ! I had my database already connected, but whenever I wanted to truly understand what the code meant I found that people usually just recycles code instead of understanding what it is about. I understood everything clearly , now I can go on with more complicated things. Thank you so much for this video, amazingly explained!!
@jra5816
@jra5816 7 лет назад
Thank you very much! It helped me understand what each bit of code does and why it is relevant.
@Alex-vi5kp
@Alex-vi5kp 7 лет назад
Awesome! That was my goal!
@kingtyphoon
@kingtyphoon Год назад
This is a great no nonsense tutorial!
@fabiovandooren
@fabiovandooren 6 лет назад
Good job, this was a clear and simple explanation to get started using db-connections using PDO :)
@paulrandall7458
@paulrandall7458 6 лет назад
Really enjoyed seeing this typed out with explanations as you went. Thank you!
@Alex-vi5kp
@Alex-vi5kp 6 лет назад
I'm glad I can help! :)
@yadmhedin972
@yadmhedin972 4 года назад
thanks alex you just saved my life
@Alex-vi5kp
@Alex-vi5kp 4 года назад
no problem
@iannzioka1716
@iannzioka1716 4 года назад
at last ! something that really works! Thank you man
@Alex-vi5kp
@Alex-vi5kp 4 года назад
No problem
@gabrielrodriguez4625
@gabrielrodriguez4625 4 года назад
Thank you very much Alex, this video helped a lot !
@Alex-vi5kp
@Alex-vi5kp 4 года назад
I'm glad to help out!
@mindyfelts3876
@mindyfelts3876 6 лет назад
You did a great job explaining this!!! Thank you sooooo much!
@Alex-vi5kp
@Alex-vi5kp 6 лет назад
You’re welcome!
@oluwatosinfalajiki1224
@oluwatosinfalajiki1224 6 лет назад
Thank you very much . video was really helpful
@wajahatali1308
@wajahatali1308 6 лет назад
Can anyone tell me that what exactly setAttribute does. I have this piece of code "setAttribute(PDO::ERRMODE, ERRMODE_SILENT)" and per my knowledge prevails it must return the error code whereas in actual its actually giving me the whole error. Thanks.
@xjonyxsimix2
@xjonyxsimix2 6 лет назад
straight to the fucking point. Cheers mate, helped me a shit ton! thankyou!
@Alex-vi5kp
@Alex-vi5kp 6 лет назад
+Jonathan Piza glad to help
@chamberlainfrancis1626
@chamberlainfrancis1626 6 лет назад
well explained, thank you very much
@Alex-vi5kp
@Alex-vi5kp 6 лет назад
I try my best :)
@rw7799
@rw7799 5 лет назад
.nice. Would you put the db code in a class normally or just keep it open in its own file like in your tuts and include it? thx
@akonthinews6100
@akonthinews6100 5 лет назад
Thank you so much!
@KeffelewAssefa
@KeffelewAssefa 6 лет назад
Thank you
@Alex-vi5kp
@Alex-vi5kp 6 лет назад
+Keffelew Assefa you're welcome!
@victorludo
@victorludo 6 лет назад
Gracias!!
@Alex-vi5kp
@Alex-vi5kp 6 лет назад
Denado or something
@chujingxl
@chujingxl 6 лет назад
Thank you:)
@Alex-vi5kp
@Alex-vi5kp 6 лет назад
Welcome!
@AghLetMeMakeAnACC
@AghLetMeMakeAnACC 5 лет назад
How would you implement this with html? Eg creating a html webpage but wanting to connect it to a database so it actually shows the webpage and not just “connected”
@Alex-vi5kp
@Alex-vi5kp 5 лет назад
Just put the database connection in the head tag of the html document. Then put your html in the body tags. You can echo stuff from the database into the body tags once you are connected. I believe I made a video about that.
@swampguy277
@swampguy277 4 месяца назад
W
Далее
How to connect to MySQL database using PDO
12:38
Просмотров 10 тыс.
Мама приболела😂@kak__oska
00:16
Просмотров 804 тыс.
PDO Crash Course (PHP)
45:35
Просмотров 277 тыс.
PHP $_FILES and Handling File Uploads
19:36
Просмотров 6 тыс.
PDO Connections to MySQL from PHP
8:10
Просмотров 11 тыс.
MySQL PDO Tutorial Lesson 1 - Connection
5:21
Просмотров 36 тыс.
Мама приболела😂@kak__oska
00:16
Просмотров 804 тыс.