PHP Using PHP with MySQL Querying the Database with PHP Avoiding Duplication

adrien kovanic
adrien kovanic
5,727 Points

Hi I have an error 500 when trying to load the index.php page

My database.php is working please help :) thanks a lot !

it would be more helpfull if you put your code here to see whats wrong with it

1 Answer

Jacek Michalski
Jacek Michalski
4,550 Points

You probably have a problem with concatenation in connection string. Double check white spaces, double quotes and constant names in database.php file.