/Users/Cesco/Desktop/prova.py, line 3, in module
print(DonaldDuck);
NameError: name 'DonaldDuck' is not defined
Until now I've seen that when I write this PHP equivalent:
echo($DonaldDuck);
When I try to run it, the PHP writes a blank string, because the
variable is not yet initialized
Thank you
Il giorno 18/mag/09, alle ore 18:15, Bruno Fajardo ha scritto:
This kind of tip is raised in form of notices. So, to enable that,
use the
following function on top of your scripts:
error_reporting(E_ALL | E_NOTICE);
Best regards,
Bruno.
--
PHP General Mailing List
Ok, I suppose that this should be a very simple problem and probably
the answer is obvious, but I really can't understand how the classes
and the rest of the stuff works in PHP...
Let's suppose that we have this piece of code:
?php
class Duck {
function
Could you help me clarify one thing that I don't understand... let's
put it simple, just imagine that I have a tiny XML document with a
list of movies:
movies
title
iGone/i with bthe/b wind
/title
/movies
I want to read this XML file and write the name of the
4 matches
Mail list logo