Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

How to get table tbody tr cell values to php and store in my

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

How to get table tbody tr cell values to php and store in my

Postby naveen41045 » Wed Jan 30, 2013 10:19 pm

Hello everybody,

I'm hoping you can help with a simple script.
I want to get the cell values of a table tbody (multiple row cell values) to php and store those values to mysql database

Thanks in advance
naveen41045
New php-forum User
New php-forum User
 
Posts: 1
Joined: Wed Jan 30, 2013 10:11 pm

Re: How to get table tbody tr cell values to php and store i

Postby seandisanti » Fri Feb 08, 2013 1:01 pm

check out SimpleHtmlDom http://simplehtmldom.sourceforge.net/ it lets you use css selectors (and more) to grab individual elements and contents from the document object. It's pretty intuitive once you get it going.
seandisanti
php-forum Fan User
php-forum Fan User
 
Posts: 775
Joined: Mon Oct 01, 2012 12:32 pm


Return to PHP coding => General

Who is online

Users browsing this forum: Google Feedfetcher, Majestic-12 [Bot] and 2 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.