When I wanted multi-dimensional with forms, I think I had to do this:
- Original Message -
From: "Wieger Uffink" <[EMAIL PROTECTED]>
To: "Jeff Gannaway" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, July 03, 2001 8:32 AM
Subject: Re: [P
array_pop($b);
}
return 1;
}
> -Original Message-
> From: Jeff Gannaway [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 03, 2001 8:05 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Basic multi-dimensional array help
>
>
> I've got input fields in a form that look lik
Hi Jeff,
There probably are several ways of doing this.
One is you copy $info[0] ( an array itself ) into a dummy variable, and
get the values with $dummy[0] etc.
Or use brackets in your variable syntax, which youll have to experiment
with cause, I can never seem to remeber the right syntax :)
I've got input fields in a form that look like:
The next script processes all this into a database. Here are the results I
get from various commands:
sizeof($Info): 2
sizeof($Info[0]): 4
print $Info[0][0]: Array[0]
Any help?
Jeff Gannaway
4 matches
Mail list logo