PHP Classes

Where's the Constructor?

Recommend this page to a friend!

      Html 2 Array  >  All threads  >  Where's the Constructor?  >  (Un) Subscribe thread alerts  
Subject:Where's the Constructor?
Summary:I downloaded the 3 files, but where's the constructor?
Messages:3
Author:Alan Wilcox
Date:2009-02-18 13:28:14
Update:2009-09-25 13:24:38
 

  1. Where's the Constructor?   Reply   Report abuse  
Picture of Alan Wilcox Alan Wilcox - 2009-02-18 13:28:14
Won't run as it is.

  2. Re: Where's the Constructor?   Reply   Report abuse  
Picture of Vampie Vampie - 2009-02-20 12:28:24 - In reply to message 1 from Alan Wilcox
Problem is this line:

$parser =& new HtmlFormParser($html);

change it to

$parser =& new Html2Array($html);

In the exaample the wrong class get called.
Hope it helps.

  3. Re: Where's the Constructor?   Reply   Report abuse  
Picture of Ewg Ewg - 2009-09-25 13:24:38 - In reply to message 1 from Alan Wilcox
It is trash!