Can anybody tell me how to parse and edit HTML in PHP?
Asked
Active
Viewed 809 times
1 Answers
8
PHP Simple HTML DOM is what you're looking for.

Dominic Rodger
- 97,747
- 36
- 197
- 212

p4bl0
- 3,846
- 1
- 22
- 21
-
How you can know that from the question as it stands is beyond me. Looks useful, but I'm not sure that is what he's after. – Dominic Rodger Sep 06 '09 at 16:48
-
Just discovered PHP Simple HTML DOM a fews days ago in a Stack Overflow discussion, and viewed it in my bookmarks like five minuts before reading this question. I'm just lucky :-p – p4bl0 Sep 06 '09 at 17:45
-
Cool! I didn't know about this either, thx p4bl0 (Incidently negative votes can also help: the question title looked OK, but the neg votes made me curious - and lo & behold: I learned something!) – slashmais Sep 07 '09 at 08:16
-
I don't see what's wrong with the question... Maybe because English is not my natural language? – The Disintegrator Sep 10 '09 at 07:39
-
It isn't mine neither, that's another way to explain that i understood :-D – p4bl0 Sep 10 '09 at 11:38