Groups
Groups
Sign in
Groups
Groups
Professional PHP Developers
Conversations
About
Send feedback
Help
Convert HTML table to CSV
4 views
Skip to first unread message
rpflo
unread,
Apr 22, 2009, 3:21:53 PM
4/22/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Professional PHP Developers
Been poking around this list and searching the internet for a sample
script for this.
Anybody know of a good place to find this before I spend a day making
it :)
Thanks.
Robert Gonzalez
unread,
Apr 22, 2009, 6:34:48 PM
4/22/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Professi...@googlegroups.com
Start here:
http://www.phpro.org/examples/Parse-HTML-With-PHP-And-DOM.html
The go to
http://php.net/fputcsv
--
Robert A. Gonzalez
Bobby Easland
unread,
Apr 22, 2009, 11:20:07 PM
4/22/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Professi...@googlegroups.com
www.php.net/dom
It looks complicated but you can pluck the table from the DOM and pull
the th and td columns easily. Search on Google for how to parse a table
with the DOM lib.
--
Bobby Easland
http://www.oscommerce-freelancers.com
Reply all
Reply to author
Forward
0 new messages