i just test that code and i got the full string fine...check and see if
what you typed here is the same as your original code...

jack

Vlad wrote:
> 
> Hi all
> 
> script example:
> 
> function smth(){
>  $result = '1234 - the number';
> return $result;
> }
> ...
>   $res = smth();
> ...
> After this $res takes value of 1234 not the actual string.
> Is any soolution here?
> 
> Thanks, Vlad
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to