On Sun, 6 Jul 2003, arnaud gonzales wrote:
> 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) {
>
>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 "$row($key))";
> }
never used foreach()... but I
Don't you think it should be like this?
foreach($champs as $key=>$value) {
echo"$key";
//--^
}
-Original Message-
From: arnaud gonzales [mailto:[EMAIL PROTECTED]
Sent: 6. júlí 2003 20:51
To: Php-General
Subject: [PHP] Warning
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 "$row($key))";
}
TIA.
zeg
4 matches
Mail list logo