Salut,

Dans une page php, pour rediriger vers 1 autre .php situé dans le même répertoire, c'est bien :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
fwrite($fid, "<a href='telechargement.php'>".htmlentities($document_langue['titre'])."</a>\n");
Pourtant cela me fait une erreur du type :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
* Requete : SELECT theme_langue.titre,  theme_langue.id_langue  FROM theme_langue, theme  WHERE theme_langue.id_theme =   AND theme_langue.id_theme = theme.id_theme  AND (theme_langue.id_langue = 1  OR theme_langue.id_langue = 1)  AND theme.actif != 0  LIMIT 0, 2 
* Erreur : You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND theme_langue.id_theme = theme.id_theme  AND (theme_langue.i
* URL : http://cec-curie/telechargement.php
 
Une erreur a ete detectee, un mail a ete envoye au webmaster.
Et quand je remplace par un http qui dirige vers le web, ça marche
Quelqu'un a une idée?

a+