J'ai créé une fonction php :
1.function motnonconnu($mot){
2. include('connexion.php');
3. $req = mysql_query("SELECT * FROM mot WHERE mot='$mot'")or die (mysql_error());
4. $match = mysql_num_rows($req);
5. if($match > 0)
6. {
7. return false;
8. }
9. else
10. {
11. return true;
12. }
13.}
mais j'ai une parse erreur sur la ligne 3...
Quelqu'un peut m'aider ?
Vincent