Skip to content

Instantly share code, notes, and snippets.

@KOUISAmine
Last active February 10, 2017 19:40
Show Gist options
  • Save KOUISAmine/7d85289b85756901f16d3a829dd01781 to your computer and use it in GitHub Desktop.
Save KOUISAmine/7d85289b85756901f16d3a829dd01781 to your computer and use it in GitHub Desktop.
Créer un formulaire de connexion en Php avec MySQLi / jQuery
<?php
$conn = new mysqli('localhost', 'root', '', 'connexion');
if($conn->connect_error){
die("Erreur: Impossible de se connecter à la base de données: ". $conn->connect_error);
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment