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 difference between $x and $$x
5 Answers Mindex, Net Solution, Procon IT Solutions, Trigent,
Without using forms and hidden variables, how to send variables from a PHP script to another URL using POST method?
I just installed php 5.3.1 in my linux server and now my old work which i used to write with tags is not working at all.. Please help me out.. How can i resolve this??
Who is the father of php?
What does $_env mean?
hi i am complted my b.tech and i want to learn php is php is good for my career and i want to know the salary growth on php any one can tell the answer plz and i am learning php myself it is easy to understand..........
Is facebook still written in php?
What is the difference between echo and print statement?
11 Answers Rushmore Consultancy,
What are html entities?
What is htmlentities function in php?
How to find datatype of variable in php?
What are the differences between mysqli_connect and mysqli_pconnect?