Re: [PHP] Re: Problem using session

2001-08-28 Thread Frank Loewenthal
On Tuesday 28 August 2001 02:20 pm, you wrote: > And one question: > Should I use "session_start()" in every php file on my site ? > > Thanks, > Rosen Yes! -- SFI Technology Services AG Dr. F. Loewenthal Stettbachstrasse 10 CH-8600 Dübendorf Switzerland [EMAIL PROTECTED] www.sfi.ch +41/1-824

[PHP] functions returning arrays II ... Umpf....@!**x@#

2001-08-24 Thread Frank Loewenthal
Hi, > A lot of answers about the typing error > $r[ i ] resp. $r[ $i ] > > Sorry, this was only wrong in my mail. But this is not the solution. Okay this was really the mistake. Hm... it is Friday, sorry for this stupid question. Regards Frank -- SFI Technology Services AG Dr. F.

[PHP] functions returning arrays II

2001-08-24 Thread Frank Loewenthal
A lot of answers about the typing error $r[ i ] resp. $r[ $i ] Sorry, this was only wrong in my mail. But this is not the solution. Hi Perhaps I am confused, but is it not possible to return arrays in PHP? Example: function getArray() { $ret = array('hallo','you'); return $

[PHP] Fwd: functions returning arrays

2001-08-24 Thread Frank Loewenthal
Hi Perhaps I am confused, but is it not possible to return arrays in PHP? Example: function getArray() { $ret = array('hallo','you'); return $ret; } $r = getArray(); for( $i=0;$i < count($r); $i++) echo "$r[i]"; Does not work! The array shows 2 Elements, but they are