Parsing a variable
Posted: Sun Jun 01, 2014 8:29 am
im a newcomer to php (i come from a diffrent not webbased language) and im trying to parse an html and take each line of the html code and use regex to get the part i want.
now im using the htmldom libary: http://simplehtmldom.sourceforge.net/ and i succeeded in getting the html of a website,but thats where my knowledge of php ends
i want to have an end result where i print all the lines of html that i used regex on
anyone here knows how i should attempt to do this? it cant be very difficult
now im using the htmldom libary: http://simplehtmldom.sourceforge.net/ and i succeeded in getting the html of a website,but thats where my knowledge of php ends
i want to have an end result where i print all the lines of html that i used regex on
anyone here knows how i should attempt to do this? it cant be very difficult