Re: [PHP] Joomla FrameWork ::

2010-05-02 Thread Nick Balestra
rator', $this is your 'current scope'. > > i guess you better read > http://www.php.net/manual/en/language.oop5.php.. all sections :)) > > > ~viraj > > > > On Sun, May 2, 2010 at 8:11 PM, Nick Balestra wrote: >> I am trying to understand how

[PHP] Re: Joomla FrameWork ::

2010-05-02 Thread Nick Balestra
I think si related to class and methods, JRequest Class have a method called setVar, right? if this is correct sorry for posting the question, i just haven't started yet classes and methods...;-) On May 2, 2010, at 4:41 PM, Nick Balestra wrote: > I am trying to understand how th

[PHP] Joomla FrameWork ::

2010-05-02 Thread Nick Balestra
I am trying to understand how the joomla framework works, i see an heavy usage of " :: " in its code, here an example: function edit () { JRequest::setVar('view, 'single'); $this ->display(); } from my really basic php understanding in the func

Re: [PHP] multi dimensional array question

2010-05-01 Thread Nick Balestra
Thanks! I'll agree with you abotu ur points, i just started php few days ago..so i am in the first phase of learnign it...and this list is so gr8! thanks evrybody cheers, Nick On May 1, 2010, at 6:11 PM, Programming Guides wrote: > On Fri, Apr 30, 2010 at 7:33 PM, Nick Balestr

Re: [PHP] multi dimensional array question

2010-04-30 Thread Nick Balestra
thanks Piero! i was trying to solve an excercise on "learning php5" (O'reilyl) book. I am happy abotut his solution with the array_sum funtion you suggested, and my multidimensional array make much more sense to mee then they suggested solution that also much more line of code comapred... loo

[PHP] multi dimensional array question

2010-04-30 Thread Nick Balestra
hello everybody here is my array(s) $us_census = array('NY' => array('New York' => 8008278), 'CA' => array('Los Angeles' => 3694820, 'San Diego' => 1223400), 'IL

Re: [PHP] escape \n

2010-04-23 Thread Nick Balestra
Thanks everybody! On Apr 23, 2010, at 10:05 AM, Ashley Sheridan wrote: > On Fri, 2010-04-23 at 09:51 +0200, Nick Balestra wrote: >> >> Hello guys i am trying to figure out what is worng with thoose special >> escaped character, like \n \t \r ... >> >> A

[PHP] escape \n

2010-04-23 Thread Nick Balestra
Hello guys i am trying to figure out what is worng with thoose special escaped character, like \n \t \r ... As i cannot make them working. The browser doesn't display them, but doesn't eithr crate a new line, or else. I am using them fro example like this: print: "this shoudl be on a line \nwhi

Re: [PHP] replying to list

2010-04-21 Thread Nick Balestra
Not really i think, because by replying it just direct reply to the OP, while other systems like google groups for example by replying you just post to the list, and actually make more sense. the easy way is to hit reply and change the "to" into php-general@lists.php.net or reply to all and rep

[PHP] Hello everybody - php newbie from switzerland

2010-04-20 Thread Nick Balestra
Hello everybody, I am NIck, from Locarno (southern switzerland) i am getting into php development for my own start-up company, maybe there are other people near me that would be nice to know for networking and alike. I will post here all my questions if i don't find any answer already on this l