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 |
Write down the code for save an uploaded file in php.
What is the use of htmlentities in php?
Which cryptographic functions in php returns the longest hash value?
How to create an empty array in php?
What are the different types of array in php?
How to call javascript function in php on button click?
How can you submit a form without a submit button?
What is meant by MIME?
What is a variable cost example?
How do you define a constant?
What is php written in?
What does the function get_magic_quotes_gpc() means?