|
-
Aug 16th, 2003, 01:21 PM
#1
Thread Starter
Lively Member
length of form passed array [RESOLVED]
hello,
I have a form with input type like this:
<input type=hidden name="RecId[]" value="foo">
this input is dynamicly created and there is a vary number of it.
now the question is how can I know the length of the array in the procesing page (the page that I goto when I submit the form)
because I want to print the length on the screen.
thanks
Yair
Last edited by yair24; Aug 18th, 2003 at 09:45 AM.
-
Aug 17th, 2003, 03:30 PM
#2
Stuck in the 80s
Is this what you want?
Code:
echo count($RecId[]);
-
Aug 18th, 2003, 09:45 AM
#3
Thread Starter
Lively Member
Re: length of form passed array
Originally posted by yair24
hello,
I have a form with input type like this:
<input type=hidden name="RecId[]" value="foo">
this input is dynamicly created and there is a vary number of it.
now the question is how can I know the length of the array in the procesing page (the page that I goto when I submit the form)
because I want to print the length on the screen.
thanks
Yair
thanks!!
this is what I need its just that it should be without the []
thanks again.
Yair
-
Aug 18th, 2003, 12:26 PM
#4
Stuck in the 80s
Re: Re: length of form passed array
Originally posted by yair24
thanks!!
this is what I need its just that it should be without the []
thanks again.
Yair
Whoops! You're right, there should be no [] in there.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|