Erreur annoncé par Zend Studio
Bonjour,
j'ai un code php tout simple :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13
|
<?php
$id = 12;
if ($id != NULL) {
$retour = mysql_query("SELECT password FROM user WHERE id='$id'");
if ($donnees = mysql_fetch_array($retour)) {
$password = $donnees ['password'];
}
}
?> |
Zend Studio me souligne la ligne if ($donnees = mysql_fetch_array($retour)) {
et il me dit :
Citation:
Multiple annotations found at this line:
- Line Breakpoint: test.php [line: 6 ]
- bool-assign : Assignment in condition
Ques qu'il veut dire ? et comment palier à ce problème ? car mon scripte marche correctement pourtant.