Fatal Error

Résolu
cs_vargas Messages postés 42 Date d'inscription samedi 14 juin 2003 Statut Membre Dernière intervention 10 juin 2013 - 1 janv. 2012 à 18:44
cs_vargas Messages postés 42 Date d'inscription samedi 14 juin 2003 Statut Membre Dernière intervention 10 juin 2013 - 1 janv. 2012 à 21:23
Bonjour à tous et bonne année

je suis entraine de coder une application en php et j'ai un erreur de syntaxe je crois voici mon code:

[<?php echo $_SERVER['PHP_SELF'];?>?noProjet=<?php echo $ligne->No?>&details <?php echo $ligne->Client?>]
 


et voici le Fatal Error :

Fatal Error: The reference to entity "details" must end with the ';' delimiter.
From line 32, column 41; to line 32, column 74

j'ai mis le ; après le mot "details", mais ça ne change rien. Si quelqu'un a une idée de comment solutionner mon erreur je vous remercie beaucoup.

3 réponses

cod57 Messages postés 1653 Date d'inscription dimanche 7 septembre 2008 Statut Membre Dernière intervention 11 septembre 2013 19
1 janv. 2012 à 19:50
erreur de ma part plutôt ça
j'ai oublié un bout



[<?php echo $_SERVER['PHP_SELF'];?>?noProjet=<?php echo $ligne->No;?>&details=<?php echo $ligne->Client;?> 
lien]





<?php
echo '['.$_SERVER['PHP_SELF'].'?noProjet='.$ligne->No.'&details='.$ligne->Client.' lien]';
?>





Bonne programmation !
3
cod57 Messages postés 1653 Date d'inscription dimanche 7 septembre 2008 Statut Membre Dernière intervention 11 septembre 2013 19
1 janv. 2012 à 19:47
bonsoir
test



[<?php echo $_SERVER['PHP_SELF'];?>?noProjet=<?php echo $ligne->No;?>&details= <?php echo $ligne->Client;?>
]





<?php
echo 'No.'&details='.$ligne->Client.'';
?>






Bonne programmation !
0
cs_vargas Messages postés 42 Date d'inscription samedi 14 juin 2003 Statut Membre Dernière intervention 10 juin 2013
1 janv. 2012 à 21:23
Merci cod57

Comme toujours la bonne réponse
0
Rejoignez-nous