I trying to parse HTML Table tags and get all the values in a Array. How can I get values from that array One-by-One. I have tried many array sample but when I try to print this array it only returns series of value "Array" not the value.
see this image how that array look like

----------------------------------------------------------------------------------------
[img]http://www.sangeetmp3.com/PHP.JPG[/img]

I want that first it shows value for node "1" value...1,2,3,4 and so on
Any help

Recommended Answers

All 3 Replies

Posting some relevant code would help.

Hey,
If you could post the array structure, that'd help immensely... however at a guess, you could try the following:

foreach( $arrTable as $arrRow ) {

[INDENT]foreach( $arrRow as $strCellValue ) {
[INDENT]// do whatever you want with the cell value[/INDENT]
}[/INDENT]

}

Does this help?

R

thanx for the help :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.