PHP PDO Tutorial Connect Database and Query Example

PHP PDO Tutorial Connect Database and Query Example

Adam Khoury

9 лет назад

60,119 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@stephanstanisic2007
@stephanstanisic2007 - 26.01.2015 20:57

I should use MySQLi if I need a database connection. Much cleaner to me. (with a db_conx.php file)

Ответить
@AdamKhoury
@AdamKhoury - 26.01.2015 20:57

Ответить
@Sithirasm
@Sithirasm - 26.01.2015 21:43

Nicely explained Adam .... I love your video tutorials ... You explains every line very clearly ... Thumbs up for the good work :)

Ответить
@dekipet
@dekipet - 26.01.2015 22:11

Never truly understood PDO 'till now.

Ответить
@DIGITALONESOLUTIONS
@DIGITALONESOLUTIONS - 26.01.2015 22:29

Great Video :) Thank you for explaining the differences!

Ответить
@kamaboko1
@kamaboko1 - 26.01.2015 23:09

Digging the website update.

Ответить
@Tomtommer
@Tomtommer - 27.01.2015 00:26

Could you do a video going more in depth regarding using prepared statements and the benefits of it? I'm fairly new to PHP and am worried about the safety of my code. I heard that using prepared statements provide an extra layer of safety.
Correct me if I am wrong about this.

Ответить
@MrShawnlloyd
@MrShawnlloyd - 27.01.2015 00:40

WHAT ??? PDO has limitations ?? hmmmmm imagine that !!! And here come the idiot comments in 3....2....1...

Ответить
@NoahNobody
@NoahNobody - 27.01.2015 00:53

Is one of these safer against SQL injection than  the other?

Ответить
@alessandrosalzo8280
@alessandrosalzo8280 - 27.01.2015 07:08

Thanks a lot again Adam. I asked you if you could make a video about this and here it is. You're the best bro!

Ответить
@rodin9009
@rodin9009 - 28.01.2015 21:47

Usefull serie came up just when i started using PHP PDO. AMAZING :333

Ответить
@tuananhha
@tuananhha - 22.02.2015 12:57

Thank you!

Ответить
@bensosfrequents
@bensosfrequents - 08.06.2015 20:55

Dr. Adam, i don't know inf you are going to get my point??  Is it possible to hard code auto-loading pages like jQuery mobile.. Loading one pages without refreshing page and when you manually refresh the page it remains the same.... just the way jQuery mobile loads.... Please conduct a video on this..... if you get solution let me know please. Am capable of auto-loading the pages but when i manually refresh the page it goes back to it's initial state....

Ответить
@juplexcangs
@juplexcangs - 29.09.2015 15:56

sir can i ask for how to use mysql to create database and how to connect to the web get get data to update
because i having a school thesis title "online banking system" plssss help tnx

Ответить
@ahmed4menofia
@ahmed4menofia - 12.03.2016 17:09

thank you

Ответить
@RosnerParrales
@RosnerParrales - 14.03.2016 23:30

Fatal error: Uncaught exception 'PDOException' with message 'could not find driver'
That's all I get, can anyone tell me how to fix this?

Ответить
@Ophiuchus1
@Ophiuchus1 - 29.05.2016 08:56

Omg. I have been watching your videos for years. I've used xamp, mamp, wamp, lamp, and even just bought a hosting account to have access to a real online server. I have never made a mysql connection in my life. I am so hung up here. I can no longer learn any more php or evolve my web development with out using a database. I need help to defeat the gods here. I need to connect to a database. I have used a thousand examples over the years. But still no connection ever. Not once. What am I missing?

Ответить
@curtturdle5661
@curtturdle5661 - 13.02.2017 22:12

i get this error

Access denied for user 'root'@'localhost' (using password: NO)

and i know im doing it right

Ответить
@niallharkiss3583
@niallharkiss3583 - 12.12.2018 00:42

In OOP, are the words function and method interchangeable?

Ответить
@scottyomokhodion5265
@scottyomokhodion5265 - 29.06.2019 22:27

please i am new to coding and web design and all, which of your videos do i begin with in other to get acquainted with the basic knowledge

Ответить
@faraitanekha2642
@faraitanekha2642 - 16.08.2024 11:38

Just what I needed! Merci mille fois 😀

Ответить