How can you count number of parameters given in a URL by
POST method?
Answers were Sorted based on User's Feedback
Answer / avishek kumar
we can use count() function for it like
count($_POST) ;
Is This Answer Correct ? | 7 Yes | 3 No |
Answer / ghan shyam
you can count parmeter using cout function or sizeof function
count($_POST)
sizeof($_POST)
because parameter sent by any method(POST OR GET METHOD) comes in array
Is This Answer Correct ? | 3 Yes | 1 No |
Answer / vibhor
count($_POST)
count counts the number and $_POST gets all the values who
are posted in form.
I get http://quizplaza.com It is great site that will help
to prepare in examinations and jobs. There are million of
question answer
Is This Answer Correct ? | 2 Yes | 0 No |
What is basic php?
What type of comments are supported by PHP.
Is variable name casesensitive in php?
Differentiate echo vs. Print statement.
what do you mean by webserver's document root?
Is the cookies are available on cross domain?
What is http php?
What is the difference between mysql_fetch_object and mysql_fetch_array?
What are classes in php?
What IS PHP?
What is the super method?
What is mem_cache ? How do you put a database query into that ?