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 |
Why do you need php?
Explain the difference between urlencode and urldecode?
What is difference between html and php?
Explain mixed and callback functions?
Do you know what is the use of the function 'imagetypes()'?
What is the use of super-global arrays in php?
What is php oops concepts?
List the different types of print functions available in php?
How to create the PHP Script to Calculate the Age Using the Inputs Of our Birth date and the Current date?
How to create reusable code in php?
How to define a function with any number of arguments?
what are in image creating functions in php