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 the difference between mysql_fetch_array() and mysql_fetch_row()?
Explain about image types in detail?
What is the function used to change the root directory in PHP?
What is boolean in php?
How to set session.gc_maxlifetime properly?
When to use inquire vs enquire?
What is the difference between $message and $$message?
12 Answers BSPL, eGrove, i-Net Solution,
How do you end php?
which function used to get the file name in php?
What is register_globals in php?
6 Answers Castling IT, HCL, Intel Soft Solutions, Millennium,
What does $_cookie mean?
Tell me how comfortable are you with writing html entirely by hand?