Re: [PHP] variables in PHP

2006-02-03 Thread Richard Lynch
Source code. On Fri, February 3, 2006 12:43 am, suresh kumar wrote: hi, In my project i assigned name of the text field as 'loginform'.but i got error msg like 'Undefined variable' then i changed the name as 'hiddenfield' but same error.any one having idea reply me.

[PHP] variables in PHP

2006-02-02 Thread suresh kumar
hi, In my project i assigned name of the text field as 'loginform'.but i got error msg like 'Undefined variable' then i changed the name as 'hiddenfield' but same error.any one having idea reply me. A.suresh

Re: [PHP] variables in PHP

2006-02-02 Thread Angelo Zanetti
suresh kumar wrote: hi, In my project i assigned name of the text field as 'loginform'.but i got error msg like 'Undefined variable' then i changed the name as 'hiddenfield' but same error.any one having idea reply me. POST the code so we can see exactly whats going on... -- PHP

[PHP] Variables in PHP: public vs. private

2002-05-17 Thread Christoph Starkmann
Hi there! I'm just starting to get in touch with oo programming in PHP. Now I've got a quite simple question, I guess... In an example in the PHP-help, I found a class definition with accessor functions like dummy-get_some_variable(); But AFAIK (and see ;)), variables in PHP in fact

Re: [PHP] Variables in PHP: public vs. private

2002-05-17 Thread hassan
starting to get in touch with oo programming in PHP. Now I've got a quite simple question, I guess... In an example in the PHP-help, I found a class definition with accessor functions like dummy-get_some_variable(); But AFAIK (and see ;)), variables in PHP in fact are never private, but always

Re: [PHP] Variables in PHP: public vs. private

2002-05-17 Thread Dan Hardiker
But AFAIK (and see ;)), variables in PHP in fact are never private, but always public, at least within the current script. This is correct, all functions and variables inside a class are public. There are no protected nor private func's / var's. So what would be the sense in having