Hi
Got it working as expected. Try the following modified class
class customer {
$name;
$phone;
function customer($name, $phone) {
$this->name = $name;
$this->phone = $phone;
}
function getName() {
return $n
_
> >
> > m.bell...@reply.it
> > Prinzenalle 7
> > 40549 Düsseldorf
> > GERMANY
> >
> > From: Niel Archer [...@chance.now]
> > Sent: Tuesday, May 12, 2009 7:16 PM
> > To: php-windows@lists.php.net
> > S
> For what concerns the two type of DOMDocument istantiation I forgot to
> chance them both :)
>
> Thks
> Maurizio Bellemo
> Sytel Reply Deutschland
> __
>
> m.bell...@reply.it
> Prinzenalle 7
> 40549 Düsseldorf
> GERMANY
> _________
@chance.now]
Sent: Tuesday, May 12, 2009 7:16 PM
To: php-windows@lists.php.net
Subject: Re: [PHP-WIN] Problem with DOM
> Hi all,
>
> I'm trying to create some XML from PHP code to save data about customers, but
> I found many problem and it doesn't work.
>
> The cla
> Hi all,
>
> I'm trying to create some XML from PHP code to save data about customers, but
> I found many problem and it doesn't work.
>
> The class Customer is quite simple I put it right below
>
>
> class customer {
> var $name;
> var $phone;
>
> function customer(
Hi all,
I'm trying to create some XML from PHP code to save data about customers, but I
found many problem and it doesn't work.
The class Customer is quite simple I put it right below
name = $name;
$this->phone = $phone;
}
function getName() {
re
Hi,
I have this strange problem with the DOM XML extention under Win2k.
I can create an xml doc with xmldocfile() but as soon I try to use a
function
I get :
Fatal error: Call to a member function on a non-object...
I saw that several people have the pb. Thank for who has an idea :-)
--
PHP