Re: old mysql & xampp
> $connection=mysql_connect("localhost","nogndk_site","XXXXXXX");
The mysql api is obsolete, has been removed. Use the mysqli api.
And allow yourself to see errors, eg minimally ...
$conn = mysqli)_cinnect(...) or exit( mysqli_connect_error() );
For production of course you would log that error and show the user something less technical.
Subject
Written By
Posted
Re: old mysql & xampp
January 17, 2021 11:21AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.