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 value for this auto incremented field user_pri_id?
How to get useful error messages in php?
Tell me what is the difference between the functions strstr() and stristr()?
Explain what does the function get_magic_quotes_gpc() means?
how many ways we get current date in php
1.<?php echo'bsfjbsnmfbs'; ?> 2.<? ech'hjndfjkshf'; ?> 3 <? echo'naskfdjnask'; three programs are exected but which is beter why
What is the capacity of mysql database?
Specify pre-defined classes in php ?
how we can crop an image and how we can display it..
Can we run php in apache tomcat?
Is php good for career?
How many open modes available when a file open in PHP?