Re: Cannot connect to Database
> or die("Unable to connect to MySQL");
Bad idea, hides the error. Call mysql_error().
And Pao: the mysql PHP API is deprecated, use the mysqli API.
Subject
Written By
Posted
December 10, 2014 06:24PM
December 10, 2014 09:39PM
December 20, 2014 02:28AM
Re: Cannot connect to Database
December 20, 2014 10:04AM
December 30, 2014 04:16PM
December 30, 2014 10:18PM
December 31, 2014 10:15AM
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.