PHP MySQL expects mysqli boolean given
问题 I have a php script that changes a database when the page is requested. Here is the php: <?php date_default_timezone_set('EST');//set time zone $con=mysqli_connect("baukin.fatcowmysql.com","sas","***pass***","dbname");//establish connection // Check connection if (mysqli_connect_errno())//ping database to check connection { echo "Failed to connect to MySQL: " . mysqli_connect_error();//error message } else { echo "Successfully updated database";//success message } mysqli_query($con,"UPDATE