|
Posted by Mathieu Maes on 08/19/06 20:31
> Could I ask how you created your class (any examples would be great)? I've
> been trying something similar for something on my own site (not invoices),
> and I am having awful trouble with it.
> Each alteration I make to fix one thing seems to cause another problem I
> wasn't expecting, and I've never done anything with classes before.
Hi Phil
I used the PHP DOM XML objects to parse the XML file, in order to
translate the data into an array, which is dan injected in MySQL.
You should look at :
http://be2.php.net/manual/tr/ref.domxml.php
These functions only work in PHP4. I'll need to rewrite the class to
let it work in PHP using the DOM functions :
http://be2.php.net/manual/tr/ref.dom.php
I you like, I can mail you the class if you like...
Kind regards,
Mathew
[Back to original message]
|