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 parent __construct ();?
Why echo is faster than print in php?
Can you give example for trait in php?
Tell me what does the array operator '===' means?
What is difference between action hook and filter hook?
Define object-oriented methodology?
What is htmlentities function in php?
What is the different between count() and sizeof() in php?
Is php still relevant 2019?
Why is php so popular?
What is compact function php?
What is the use of addslashes in php?