11.02.2016, 23:16
If you're using the latest MySQL, you don't need Mysql_ping
PHP код:
if(!mysql_errno()) print("MySQL Connection Success");
else print("MySQL Connection Failed");