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 track no of users logged in?
I went to an php interview yesterday.I got selected there.But,They asked me to sign bond by submitting my certificates for 2 years.Is it good or bad
Is php faster than python?
What is inheritance in php? How many types of inheritance supports php?
how to use http headers inside php? Write the statement through which it can be added?
What are the different errors in php?
Tell me what should we do to be able to export data into an excel file?
How many records can be stored in mysql table?
How to include variables in double-quoted strings?
How to remove duplicate values from php array?
How to get a total number of elements used in the array?
What is php built on?