I don't know if this correct but string concatenate with dot. $xml= '<dialer>'; $xml.='Hanif'; $xml.= '</dialer>';
echo $xml; Giro. 2009/12/17 Hanif <[email protected]> > Hey everyone, > > Here is my controller code. > > function info() > { > $xml= '<dialer>'; > $xml+='Hanif'; > $xml+= '</dialer>'; > > echo $xml; > } > > I want to return xml data like this <dialer>Hanif</dialer>. But it > returns only Hanif. > > Now please help me. > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<cake-php%[email protected]>For > more options, visit this group at > http://groups.google.com/group/cake-php?hl=en > Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
