I don't know if this correct but string concatenate with dot.
$xml= '';
$xml.='Hanif';
$xml.= '';
echo $xml;
Giro.
2009/12/17 Hanif
> Hey everyone,
>
> Here is my controller code.
>
> function info()
> {
>$xml= '';
> $xml+='Hanif';
>
Your browser will not show the tags, try to use echo htmlentities
($xml); so you can see the content including the tags!
Enjoy,
John
On Dec 17, 12:38 pm, Hanif wrote:
> Hey everyone,
>
> Here is my controller code.
>
> function info()
> {
> $xml= '';
>
Hey everyone,
Here is my controller code.
function info()
{
$xml= '';
$xml+='Hanif';
$xml+= '';
echo $xml;
}
I want to return xml data like this Hanif. But it
returns only Hanif.
Now please help me.
Check ou