Warning: Invalid argument supplied for foreach()
| From: | arnaud gonzales | Date: | Sun, 06 Jul 2003 20:50:35 +0000 |
| Subject: | Warning: Invalid argument supplied for foreach() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-154145@lists.php.net to get a copy of this message | ||
Hi all,
I am getting crazy, can't understand what i missed!
Does anybody know?
$champs = array ("titre_art" => "h3" ,"nom" => "bleu",
"prenom" => "green",
"resume" => "bold");
foreach($champs as $key => $value) {
echo "<td class='$value'>$row($key))</td>";
}
TIA.
zeg