I'm trying to echo out "Connected" or Disconnected to see if im connected to my database or not.
This is my code:
$con = mysqli_connect("localhost", "root", "")
mysqli_select_db($con,"online_ticket");
What if statements will be possible to test my connection?
Any help is much appreciated.