Unexpected '$this' (T_VARIABLE)
Fermé
Midix021
Messages postés
1
Date d'inscription
samedi 13 janvier 2018
Statut
Membre
Dernière intervention
13 janvier 2018
-
13 janv. 2018 à 20:49
jordane45 Messages postés 38144 Date d'inscription mercredi 22 octobre 2003 Statut Modérateur Dernière intervention 21 avril 2024 - 13 janv. 2018 à 22:59
jordane45 Messages postés 38144 Date d'inscription mercredi 22 octobre 2003 Statut Modérateur Dernière intervention 21 avril 2024 - 13 janv. 2018 à 22:59
A voir également:
- Unexpected '$this' (T_VARIABLE)
- Unexpected token '<' - Forum Javascript
- This device is locked - Forum Xiaomi
- Press up to unlock this screen ✓ - Forum Logiciels
- This program cannot be run in dos mode ✓ - Forum Programmation
- Please power down and connect the pcie power cable for this graphics card - Forum Carte graphique
2 réponses
NHenry
Messages postés
15113
Date d'inscription
vendredi 14 mars 2003
Statut
Modérateur
Dernière intervention
22 avril 2024
331
13 janv. 2018 à 21:29
13 janv. 2018 à 21:29
; manquant
jordane45
Messages postés
38144
Date d'inscription
mercredi 22 octobre 2003
Statut
Modérateur
Dernière intervention
21 avril 2024
4 650
13 janv. 2018 à 22:59
13 janv. 2018 à 22:59
Bonjour,
En plus du point-virgule manquant .. tu as aussi des $ en trop.
En plus du point-virgule manquant .. tu as aussi des $ en trop.
public function __construct() { $ini = parse_ini_file('Parameter/paraBD.ini'); $this->hostname = $ini['hostname']; $this->dbname = $ini['databaseName']; $this->username = $ini['username']; $this->password = $ini['password']; connection(); }