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 join multiple strings stored in an array into a single string?
What is uniqid php?
I am working in VFP with no knowledge of web programming.I want to learn web database programmin. Can I choose PHP and MYSQL for that?
programm for factorial
How to repeat a string to a specific number of times in php?
What is stdclass in php?
What type of headers that PHP supports?
Explain Traits in PHP?
can any one find and tell the difference between dot net and php which one is best ? which one we get more salary? which one is stable and which one is best for freshers and also better in future and carrer ? which one we wil get more salary sir ? please send ur valuable suggestions to kiranpulsar2007@gmail.com
How to check whether cookies are disbled or not in the browser ? If that is the case how do you handle the sessions ?
What is the difference between file_get_contents() and file_put_contents() in php?
Is php is dying?