bonjour,
Je voudrai savoir pourquoi en transformant la syntaxe suivante:
enCode:
1
2
3
4
5
6
7
8
9 if(condition1) { instruction1; } else { instruction2; }
le script PHP plante.Code:
1
2
3
4
5
6 if(condition1): instruction1; else: instruction2; endif:
la seconde syntaxe n'est-elle plus acceptée ?