<?php

$link=mysqli_connect('192.168.80.40','myadm','admin123');

if($link) echo
"<h1>Success!!</h1>";

else echo
"Fail!!";

?>