RE: [PHP] DOMDocument, content of entity

2011-02-16 Thread Jay Blanchard
[snip]
Hi, does anybody know, how can I parse (by DOMDocument::loadHTMLFile)
content of td tag, containing string in 3 rows (br)? I need it to
split to 3 strings.
[/snip]

http://www.php.net/explode

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] DOMDocument, content of entity

2011-02-16 Thread Fanda
 http://www.php.net/explode

I know it, but when I get content of td by $cols-item(0)-nodeValue, it is 
without br tags. So I need to:
a) get content with tags also or
b) split content by DOM (if it is possible) and get 3 different parts

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] DOMDocument, content of entity

2011-02-16 Thread Jay Blanchard
[snip]
 http://www.php.net/explode

I know it, but when I get content of td by $cols-item(0)-nodeValue,
it is without br tags. So I need to:
a) get content with tags also or
b) split content by DOM (if it is possible) and get 3 different parts
[/snip]

The DOM only exists in the browser, it really isn't available
server-side (it is proposed). What does this data look like? Is it just
strings?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] DOMDocument, content of entity

2011-02-16 Thread Jay Blanchard
[snip]
The DOM only exists in the browser, it really isn't available
server-side (it is proposed). What does this data look like? Is it just
strings?
[/snip]

Have you tried DOMDocument::loadHTML?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php