Re: Problem while return response in cakephp

2009-12-17 Thread David Gironella
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'; >

Re: Problem while return response in cakephp

2009-12-17 Thread John Andersen
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= ''; >                    

Problem while return response in cakephp

2009-12-17 Thread Hanif
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