Re: i want to parse HTML and insert it into DB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



perhaps you could try to parse the string in htmlentities , then  when display back the string coming from the db, you pass it through html_entity_decode

Regards,

Swanand Reddy

--- On Wed, 1/28/09, (¯`?.~ Abdul Qadir ~.?´¯) <abdulqadirmail@xxxxxxxxx> wrote:
From: (¯`?.~ Abdul Qadir ~.?´¯) <abdulqadirmail@xxxxxxxxx>
Subject:  i want to parse HTML and insert it into DB
To: "PHP list" <php-list@xxxxxxxxxxxxxxx>
Date: Wednesday, January 28, 2009, 4:18 AM










    
            Aslam o

Alikum



Hy dear all 

I m in a

problem please help me 

Problem : I

want to parse html data and insert it into mysql DB

Description

: I want to open a html file by using php and then read its data in between html

tags and insert 

the data into DBe.g. 

<table width="100%" border="0" cellspacing= "0" cellpadding= "1">

  <tr>

    <td>Heading 1</td>

    <td>Heading 2</td>

    <td>Heading 3</td>

    <td>Heading 4</td>

  </tr>

  <tr>

    <td>10a</td>

    <td>20a</td>

    <td>30a</td>

    <td>40a</td>

  </tr>

</table>

i want to insert the Heading 1, Heading 2..... and 10a, 20a...... and so on.....



if anyone

can, then guide me please

 

Best Regards,

Abdul Qadir

Web Designer & Developer

Cell:

    +923335760105

    +923455611619



[Non-text portions of this message have been removed]




      

    
    
	
	 
	
	








	


	
	


      

[Non-text portions of this message have been removed]


------------------------------------

Are you looking for a PHP job? Join the PHP Professionals directory Now!
http://www.phpclasses.org/professionals/Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-objects/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/php-objects/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:php-objects-digest@xxxxxxxxxxxxxxx 
    mailto:php-objects-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    php-objects-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux