View Single Post
Old 05-21-2022, 10:00 AM  
redwhiteandblue
Bollocks
 
redwhiteandblue's Avatar
 
Industry Role:
Join Date: Jun 2007
Location: Bollocks
Posts: 2,792
Try replacing the line

Quote:
$con=mysqli_connect("localhost","db","pass","user" );
with

Quote:
$con=mysqli_connect("localhost","db","pass","user" ) or die("Error connecting to database");
and if you see the message "Error connecting to database"...
redwhiteandblue is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote