MYSQL data stopped appearing on my pages

in my localhost is working fine

in webhost not working…

After i have downloaded all my website files with ftp, i deleted all from public_html, and re-uploaded (i just changed some folders structures) the datas stopped appearing.

Hi !

Make sure your MySQL connection is setup correctly…

it looks okay, because it works on my xampp local server

What PHP version are you using locally?

my php version local is 7.2.0

edit

I’ve always used this version so far, i just re uploaded and this stopped of working…

also i created a new site to send my old application setup and files( the version who was working fine on webhost before my “changes”) and do not work too… this is a very confuse because i was using and everyting is ok until few days