RE: HTML Table into 2D array
| From: | Nold, Mark | Date: | Tue, 04 Jul 2000 02:46:14 +0000 |
| Subject: | RE: HTML Table into 2D array | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-4659@lists.php.net to get a copy of this message | ||
----------------------------------------------------------------------------
-----------------
Disclaimer: The information contained in this email is intended only for the
use of the person(s) to whom it is addressed and may be confidential or
contain legally privileged information. If you are not the intended
recipient you are hereby notified that any perusal, use, distribution,
copying or disclosure is strictly prohibited. If you have received this
email in error please immediately advise us by return email at
postmaster@normandy.com.au and delete the email document without making a
copy.
----------------------------------------------------------------------------
-----------------
It would be very possible. You would simply use the regular expressions to
look for <TD></TD> tags and then take whats in between and strip any html
and off you go.
You would be best off using the pcre (Perl Regular expressions) as you will
have many more options.
mn
-----Original Message-----
From: Adam Charnock [mailto:adamcharnock@btinternet.com]
Sent: Tuesday, July 04, 2000 3:28 AM
To: php-general@lists.php.net
Subject: HTML Table into 2D array
Hello. Does anyone know if it is possible to convert a HTML table into a 2D
array? Or is there some code snippet out there that does it for you?
Thanks
Adam Charnock