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 |
Is php still in demand?
difference of move(), and copy() function in php?
How can we create a database using PHP and mysql?
How to access a specific character in a string?
How to reset/destroy a cookie?
What is difference between php and wordpress?
Tell me what are sql injections, how do you prevent them and what are the best practices?
Php says that an array is an ordered map. But how the values are ordered in an array?
Specify array sort functions available in php ?
How to create a web form?
Tell me what is use of in_array() function in php?
Tell me how can I display text with a php script?