I just want to say this is a great class! I am using it to spider a web directory, I would like to insert the returned results into a mysql database, can you explain how to do this? Thanks so much, just need an example.
Radu Topala - 2007-03-24 16:33:24 - In reply to message 1 from Anthony
All you got to do is enter an INSERT query into the class's processData() function. Instead of printing it to screen the $pattern_matches, you can do whatever you want with it.
$sql="INSERT INTO table (name,title,date) VALUES('$pattern_matches['name']','$pattern_matches['title']','$pattern_matches['date']')".