par
albius » 20 janv. 2012, 14:48
Ça tient des deux en fait. J'aurais dû commencer par ça peut-être...
Dans ce cas-ci, je n'ai effectivement qu'une seule information. L'utilisateur fait une recherche sur
1 nom (un compte en fait). Un var_dump sur un résultat:
object(stdClass)[2]
public 'idRec' => string '1836' (length=4)
public 'nom' => string 'nom' (length=8)
public 'prenom' => string 'prenom' (length=11)
public 'id' => string 'nom.prenom' (length=20)
public 'pass' => string 'xxxxxxxx' (length=8)
public 'section' => string 'Formateurs 2011' (length=15)
Mais il y a également un second cas où l'utilisateur peut faire une recherche sur une section, qui contient plusieurs comptes. Et donc plusieurs noms, prénoms, d'où une boucle...
Merci,
Ça tient des deux en fait. J'aurais dû commencer par ça peut-être...
Dans ce cas-ci, je n'ai effectivement qu'une seule information. L'utilisateur fait une recherche sur [b]1 nom[/b] (un compte en fait). Un var_dump sur un résultat:
[php]object(stdClass)[2]
public 'idRec' => string '1836' (length=4)
public 'nom' => string 'nom' (length=8)
public 'prenom' => string 'prenom' (length=11)
public 'id' => string 'nom.prenom' (length=20)
public 'pass' => string 'xxxxxxxx' (length=8)
public 'section' => string 'Formateurs 2011' (length=15)[/php]
Mais il y a également un second cas où l'utilisateur peut faire une recherche sur une section, qui contient plusieurs comptes. Et donc plusieurs noms, prénoms, d'où une boucle...
Merci,