Hi,
I have having problems connecting to MYSQL on 000webhost with the code below. Myphpadmin states to use “localhost” but this is not working. In the past have previously used something like;
$hostname_connMembers = “mysql13.000webhost.com”;
but I cannot see a hostname like this now - only localhost
$hostname_connMembers = “localhost”;
$database_connMembers = “xxx”;
$username_connMembers = “yyy”;
$password_connMembers = “zzz”;
$connMembers = mysqli_connect($hostname_connMembers, $username_connMembers, $password_connMembers) or trigger_error(mysql_error(),E_USER_ERROR);
Any help welcome.
Chris.