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 |
How to set a value in session? How to remove data from a session?
What is the main difference between php 4 and php 5?
What types of Data Can Be Used as Array Keys?
List types of array are available in php?
What is a http session?
What is sorting php?
What is laravel php?
What is difference between session and cookies in php?
Tell me how is it possible to propagate a session id?
Give small demo of writting OOP in PHP-mysql.
How to read one character from a file?
What is php session start?