Erreur php

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+

2 réponses

  1. valix
     
    voila l'ereur de ma variable

    // construct query
    $x++;
    if ($x==1)
    $construct = " keywords LIKE '%$search_each%'";
    else
    $construct = " OR keywords LIKE '%$search_each%'";

    }
    0