Hi Tularis,
Thanks ... it totally did the trick ... if only I've had the time to
actually look at this before now ;-) ...
thx
Rene
On Sat, 23 Nov 2002 19:20:02 +0100, you wrote about "Re: [PHP] echo'ing
array contents through reference variable" something that looked like
Hi Ernest E Vogelsinger,
On Sat, 23 Nov 2002 17:07:50 +0100, you wrote about "Re: [PHP] echo'ing
array contents through reference variable ... why doesn't this work???"
something that looked like this:
>At 16:50 23.11.2002, -<[ Rene Brehmer ]>- sai
echo ${$pdag[$n]}; // is also possible in case the [$n] is the index to
pdag. Otherwise use this:
echo ${$pdag}[$n];
- Tularis
PS. This is basicly the same thing as Ernest said, but shorter...
Ernest E Vogelsinger wrote:
At 16:50 23.11.2002, -<[ Rene Brehmer ]>- said:
[snip
At 16:50 23.11.2002, -<[ Rene Brehmer ]>- said:
[snip]
>Shouldn't
> echo($$pdag[$n]);
>be able to pull the string contents of the array? Or is there some extra
>needed when using referenced variable?
[snip]
This
Hi @ Edwin,
On Fri, 22 Nov 2002 12:34:35 +0900, you wrote about "Re: [PHP] echo'ing
array contents through reference variable ... why doesn't this work???"
something that looked like this:
>> This is my test code:
>>
>> $premieredag =
>> array(&qu
Hello,
"-<[ Rene Brehmer ]>-" <[EMAIL PROTECTED]> wrote:
> I've run into something I don't understand...
>
> This is my test code:
>
> $premieredag =
> array("2002-11-22","2002-11-29","2002-12-06","2002-12-18");
> $d20021122 = array("001");
> $d20021129 = array("002","003","004");
> $d2
Hi Van Andel, Robert,
Eh ... nope, that just made it worse ...
Just going to restart windows and try again ... Apache and IE are totally
screwed up now ... guess that's another way to kill WinXP... *s*
Rene
On Thu, 21 Nov 2002 15:21:50 -0600, you wrote about "RE: [PHP] echo'ing
rehmer ]>-; [EMAIL PROTECTED]
Subject: RE: [PHP] echo'ing array contents through reference variable
... why doesn't this work???
Perhaps the error lies in
for ($n = 0; $i < count($$pdag); $n++) {
You have $$pdag instead of $$pdag. You also have it lower down in the code.
Robbert van
Perhaps the error lies in
for ($n = 0; $i < count($$pdag); $n++) {
You have $$pdag instead of $$pdag. You also have it lower down in the code.
Robbert van Andel
-Original Message-
From: -<[ Rene Brehmer ]>- [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 21, 2002 1:05 PM
To: [EMA
9 matches
Mail list logo