Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2000071

[PHP] RE: HTML Table into 2D array From: Nold, Mark (Mark.Nold <email protected>)
Date: 07/03/00

----------------------------------------------------------------------------
-----------------
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 <email protected> 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 <email protected>]
Sent: Tuesday, July 04, 2000 3:28 AM
To: php-general <email protected>
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