Erreur php
Valix
-
valix -
valix -
Bonjour, voila je vais êtres plûtot directe xD
petites présentation :
prénom : Valentin
nom : privé
pseudo : Valix
age : 14
---------------
mon projet :
crée un moteur de recherche
avancement : terminé
--------------------------------
mon probleme :
Voila j'ai 2 erreur php donc celle la :
Notice: Undefined variable: x in C:\xampp\htdocs\Valix\moteur de recherche\search.php on line 32
et celle la :
Notice: Undefined variable: construct in C:\xampp\htdocs\Valix\moteur de recherche\search.php on line 34
----------------------------
Voila si un codeur se s'en capable de m'aide :$
a+
petites présentation :
prénom : Valentin
nom : privé
pseudo : Valix
age : 14
---------------
mon projet :
crée un moteur de recherche
avancement : terminé
--------------------------------
mon probleme :
Voila j'ai 2 erreur php donc celle la :
Notice: Undefined variable: x in C:\xampp\htdocs\Valix\moteur de recherche\search.php on line 32
et celle la :
Notice: Undefined variable: construct in C:\xampp\htdocs\Valix\moteur de recherche\search.php on line 34
----------------------------
Voila si un codeur se s'en capable de m'aide :$
a+
2 réponses
-
bonjour,
http://www.expreg.com/fred_article.php?art=undefined_variable
le mieux c'est posté le code de votre moteur de recherche comment savoire ce qu'il y a la ligne 32 et 34 ?
@++
-
voila l'ereur de ma variable
// construct query
$x++;
if ($x==1)
$construct = " keywords LIKE '%$search_each%'";
else
$construct = " OR keywords LIKE '%$search_each%'";
}