Skip to content
Advertisement

Tag: jsdom

convert HTML table to PHP Array using JSDOM

I’d like to convert HTML this table into PHP Array What i’ve tried so far : The result i’ve got : This error : and this Array : The result that i want, is I only want the table content in numeric array and get rid of that errors above : Answer It’s hacky solution, but this should work. From

Advertisement