Kyliann 0 Posted August 14, 2021 Share Posted August 14, 2021 Bonjour à tous ! Pour un projet j'aimerais utiliser le CMS HCity de Iboom Antigo. Malheureusement quand je me rends dans le fichier "Session.php" pour connecter le CMS à la Base de données, celui m'affiche toujours le code d'erreur. J'aurais besoin de savoir comment je pourrais faire car ça fais un moment que je n'ai pas fais cela... J'ai fais comme ceci : $link = mysqli_connect("LIEN DE MON SITE", "UTILISATEUR", "MOT DE PASSE", "NOM DE LA BASE DE DONNÉES"); Mais même en remplissant correctement cela m'affiche toujours : Merci d'avance pour vos réponses ! Mon discord : Timing#1684 Link to comment Share on other sites More sharing options...
ArKing 2 Posted August 14, 2021 Share Posted August 14, 2021 $link = new PDO("mysql:host=Localhost;dbname=bddtest" username, password); 1 Link to comment Share on other sites More sharing options...
ArKing 2 Posted August 14, 2021 Share Posted August 14, 2021 essaye ça Link to comment Share on other sites More sharing options...
ArKing 2 Posted August 14, 2021 Share Posted August 14, 2021 si ça fonctionne pas viens en pv Link to comment Share on other sites More sharing options...
Ruddox 36 Posted August 21, 2021 Share Posted August 21, 2021 Quel sont les lignes de code sur la 8 et la 20 et 21 ? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now