Jump to content

splitting image and text from the text content


scvinodkumar

Recommended Posts

Hello friends,

 

I have html content stored in the database. Now i need to split the image and text from the content.

 

For example, the content will look like this,

 

I'm a big fan of almost all <img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://1.bp.blogspot.com/_tFUA_-9YcQ0/SMUmKySSKnI/AAAAAAAAAPI/YXzr_B7xSEg/s200/google-chrome.jpg" alt="Google Chrome" id="BLOGGER_PHOTO_ID_5243639307881818738" border="0" />things Google, although their new browser, Google <a href="http://www.google.com/chrome">Chrome</a>

 

from the above content, i want to split the image and text separately.

 

Please help me.

thanks for your reply.

 

yes, i am going to showing the image and text as well

 

for example,

 

http://news.yahoo.com/i/749;_ylt=AliYoFIV4qrel.k6N9w_5m6s0NUE

 

i want to display the image in the left side and content in the right side

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.