Hello, i’m new to PHP, i’m trying to access my database via PDO with the cPanel’s credentials but it doesnt work. tried to check plenty of post on internet but still didnt figure out why.
Maybe it’s in my code so i tried these two ways :
where did i do a mistake ?