-2

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:

Error

I am familiar with HTML but not PHP.

James Z
  • 12,209
  • 10
  • 24
  • 44
HiTime
  • 1
  • 1

1 Answers1

0

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 % .

  • As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community May 02 '22 at 04:19