Login +

Documentation

SLS_Sql::pingConnection

Since SillySmart 1.0

Description

Ping a MySQL Connection
public mixed pingConnection ( string $host, string $db, string $user, string $pass);

Parameters

  • string $host
    the host
  • string $db
    the db
  • string $user
    the username
  • string $pass
    the userpassword

Return

mixed $success
true if connection succeed, else error message
No exemples.

Comments

No comment on this function, be the first !

Add your comment

You must login/register to post a reply.