Re: PHP5 simpleXML bug or am i just being silly :)

From: Date: Fri, 27 Feb 2004 06:20:27 +0000
Subject: Re: PHP5 simpleXML bug or am i just being silly :)
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-178989@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 or this: print('<p>$this->user->site[0]::</p>'); print_r($this->user->site[0]); wait... thats what he done hehe nvm? what is your php5 build? have you tried the examples? (http://www.php.net/manual/en/ref.simplexml.php) did they work? anyway, it looks pretty odd... Luke wrote:
Dont you need to use " instead of ' as ' is a string literal, while " parses variables etc in that string try this instead: print("<p>$this->user->site[0]::</p>"); Maybe that will help?
- -- André Cerqueira -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAPuGxaxdA/5C8vH8RAmdMAKDUQ49EszUioLy4VXZ8UEnaJmpq4wCggKNB ROhlu0/fR4E43KDaFdsrzmI= =NW8F -----END PGP SIGNATURE-----

« previous php.general (#178989) next »