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 38217 Date d'inscription mercredi 22 octobre 2003 Statut Modérateur Dernière intervention 1 juillet 2024 - 13 janv. 2018 à 22:59
jordane45 Messages postés 38217 Date d'inscription mercredi 22 octobre 2003 Statut Modérateur Dernière intervention 1 juillet 2024 - 13 janv. 2018 à 22:59
A voir également:
- Unexpected '$this' (T_VARIABLE)
- This product requires the java language, which is either disabled or not available on this browser. ✓ - Forum Réseau
- Please power down and connect the pcie power cable for this graphics card - Forum Carte graphique
- This is the mail system at host ✓ - Forum Mail
- This media cannot boot in legacy mode - Forum logiciel systeme
- Unexpected indent ✓ - Forum Python
2 réponses
NHenry
Messages postés
15140
Date d'inscription
vendredi 14 mars 2003
Statut
Modérateur
Dernière intervention
30 juin 2024
333
13 janv. 2018 à 21:29
13 janv. 2018 à 21:29
; manquant
jordane45
Messages postés
38217
Date d'inscription
mercredi 22 octobre 2003
Statut
Modérateur
Dernière intervention
1 juillet 2024
4 681
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(); }