Parsing html documents.

From: Date: Sun, 19 Jan 2003 12:09:50 +0000
Subject: Parsing html documents.
Groups: php.windows 
Request: Send a blank email to php-windows+get-17972@lists.php.net to get a copy of this message
Is there a way, I can read a html document, look for a <br> tag, print what it finds, and stop when it finds the next <br>. If possible I would like to do this for the entire document. For example: If the php script were to search this html file: <br> Text <input type=text size=10> <br> <br> Button <input type=button value=Button> <br> <br> Checkbox <input type=checkbox> <br> the php would parse it into three seperate pieces pulling them idividually and printing them on a new page. I hope that makes sense, thanks for the help. Tyler Mace

« previous php.windows (#17972) next »