Fatal error:PDO not found

See all posts Reply

Fatal error:PDO not found new!
by deniz, 2 years, 11 months ago
Hello, I'm updating the database with verot. "imageQuestion-> fetch (PDO :: FETCH_ASSOC);". I am getting an error "Fatal error: Uncaught Error: Class "Verot\Upload\PDO" not found in C:\xampp\htdocs\..". why this error occurs.Reply
Re: Fatal error:PDO not found new!
by emre, 2 years, 9 months ago
it is because you call PDO from wrong namespace.

When you call PDO start with \PDO as it is global namespace