Search for:
Jump to: 
Your Ad Here
Post new topic Reply to topic
Author Message
 Post subject: Problem with xml
PostPosted: Fri Jun 11, 2010 6:51 am 
Offline

Joined: Mon Nov 12, 2007 10:12 am
Posts: 355
Hi Friends,

Can any one expalin how to write line break in xml.Here is the code .

code :

<description>Description 1:<![CDATA['. $row_1["description1"] .']]>Description2 :<![CDATA['. $row["description2"] .']]></description>

I have to display both the description values in two paragraphs.

Thanks in advance


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 11, 2010 7:08 am 
Offline

Joined: Tue May 13, 2008 3:43 am
Posts: 213
Hi Samir,

It is very simple just keep <br> in the CDATA.

code :

<description>Description 1:<![CDATA['. $row_1["description1"] .'<br />]]>Description2 :<![CDATA['. $row["description2"] .']]></description>


May this helps you :D


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic    [ 2 posts ] 

1, 2, 3, 4, 5 ... 413
Recent topics  Replies   Views   Last post 
No new posts Jquery ajax Pagination using php

by rajkumar » Tue Apr 19, 2011 11:14 am in Coding Repository

8

17592

Mon May 20, 2013 2:46 am

gfsdfg View the latest post

No new posts Ecommerce website development and website Design

by iweballey » Fri May 17, 2013 7:15 am in PHP-Code Help

0

170

Fri May 17, 2013 7:15 am

iweballey View the latest post

No new posts How to upgrade and migrate Joomal site

by mallikharjuna rao » Mon Jan 21, 2013 1:40 pm in Joomla

1

348

Thu May 16, 2013 9:53 am

sunitha12 View the latest post

No new posts Benefits of PHP

by hirephpexpert » Fri Sep 07, 2012 4:41 am in CakePHP

6

1582

Wed May 15, 2013 6:25 am

PrettyPrincesG View the latest post

No new posts How to stop user from getting registered in Joomla

by mallikharjuna rao » Tue Jan 22, 2013 5:16 am in Joomla

3

1501

Wed May 15, 2013 6:17 am

PrettyPrincesG View the latest post


Your Ad Here