> Here is an extract of my code:
> 
> 1>$chaine2="";
> 2>$chaine3="";
> 3>$chaine4="";
> 4>for($i=0;$i<$cpt;$i++)
> 5>{
> 6>    $chaine2="<br><a href=\"#sujet$i\"><b><font face='verdana, arial'
> SIZE=2 COLOR=#FF8C52>\n";
> 7>    $chaine3=$titre[$i];
> 8>    $chaine4 = $chaine2.$chaine3;
> 9>    print TEMP $chaine4;    
> 10>}
> 
> There is a problem with line 8; the message is :"Use of uninitialized
> value
> in concatenation (.) or string at copy.pl line 50."
> 
        Well, this means that either $chaine2 or $chaine3 is undefined. If
you look
        at $chaine2, you define it before. So $chaine3 is undefined, which
means
        that $titre[$i] is undefined at certain point in your loop. Either
check
        your loop construct (what value does $cpt have?) or check if you are
properly
        filling the @titre array. We cannot help more with only this part of
the code.

        -Robin

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to