説明なし

db.php 244B

1234567891011
  1. <?php
  2. # Connect to database
  3. $conn = new mysqli("localhost", "ComedoresEscolares", "1234");
  4. $conn->select_db("ComedoresEscolar");
  5. # Checks connection
  6. if($conn->connect_error){
  7. header("500 Internal Server Error", true, 500);
  8. exit();
  9. }
  10. ?>