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 |
Will php die?
What is php constructor?
Is laravel easy to learn?
Which are the best start and end tags to use?
Tell me what is the difference between exception::getmessage and exception::getline?
What is the use of the function htmlentities?
Explain how we can get the number of elements in an array?
How can we upload a php + mysql Site
Write down the code for saving an uploaded file in PHP.
What is variable give example?
What is the meaning of ‘escaping to php’?
What is php and sql used for?