$host=\"mysql13.000webhost.com\";
$username=\"a1346032\";
$password=\"\";
$db_name=\"a1346032_newdb\";
$tbl_name=\"members\";
mysqli_connect(\
000webhost only lets you access the database through it's own PHP host or it's own PHPMyAdmin.
You can't access it from your own computer or another server, unless you upgrade your account (by paying).
Use this at that place
$host="localhost"; $username="a1346032"; $password="<password>"; $db_name="a1346032_newdb"; $tbl_name="members"; $con=mysqli_connect("$host", "$username", "$password", $db_name)or die("cannot connect"); mysqli_select_db``($con, "$db_name")or die("cannot select DB");