Hi Cesar,

On Thu, 13 Jul 2006 06:42:43 +0200
"Cesar Romani" <[EMAIL PROTECTED]> wrote:

>  
> In the following function the bracket at 3 doesn't match the bracket
> at 17 And the bracket at 5 doesn't match the bracket at 8
> 
>  1 <?php
>  2   function test1($a,$b,$c,$d,$e,$f)
>  3   {
>  4     if($e=='hola')
>  5     {
>  6       if($f=='') $f='1000'; 
>  7       $s='{'.$d.':'.$f.'}amigo'; 
>  8     }
>  9     else
> 10     {
> 11       $s='{'.$d.':'.$f.'}amiga'; 
> 12     }
> 13     $this->s=$s;
> 14     $this->a=$a;
> 15     $this->b=$b;
> 16     $this->c=$c;
> 17   }
> 18 ?>
> 
> Many thanks in advance.
> 
> Cesar
>

I just replaced all ' ' ' with ' " ' and its working?
'{' and '}' are the culprits. Not sure if it should 
behave this way, but thats whats causing the % confusion

cheers,


-- 
Mark

Reply via email to