I got our website's code from a dev a long ago, and when I tried to open php file in XAMPP, we got this error:
I am familiar with HTML but not PHP.
I got our website's code from a dev a long ago, and when I tried to open php file in XAMPP, we got this error:
I am familiar with HTML but not PHP.
i think your database is another server and website is another server means website and database is not same server . go to phpmyadmin and add new user with host % .