Everything was ok until suddenly most of the times I needed data from my database I get error. My connection to database every time is fine. But this $result=mysqli_query($conn,$sql) returns flase. As I said database connection is fine but sudden;y the $sql must not working. I tested the exact same files in localhost xampp and everything it is ok. It seems like it is not coding problem and I wonder if it is servers? Something temporary.
1 Like
Seems fine here if failing still try making a brand new database.
Test your connection using PDO -
Then it is down
Simply wait and check back tomorrow