How can you count number of parameters given in a URL by
Answers were Sorted based on User's Feedback
Answer / krisha
think count($_POST) will work.check it out.
|Is This Answer Correct ?||27 Yes||6 No|
Answer / avishek kumar
we can use count() function for it like
|Is This Answer Correct ?||7 Yes||3 No|
Answer / ghan shyam
you can count parmeter using cout function or sizeof function
because parameter sent by any method(POST OR GET METHOD) comes in array
|Is This Answer Correct ?||3 Yes||1 No|
Answer / vibhor
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
|Is This Answer Correct ?||2 Yes||0 No|
Answer / sudipto
It will be count($_REQUEST), it will work
|Is This Answer Correct ?||4 Yes||13 No|
What is isset post?
How to run the interactive php shell from the command line interface?
Write the statements that are used to connect php with mysql
What is session in c#?
Which software is best for php?
In mail($param1, $param2, $param3, $param4), the $param2 contains__
How do you parse and process html/xml in php?
What is the use of session and cookies in php?
How can I make a script that can be bilanguage (supports English, German)?
Can constructor be private in php?
How are sessions maintained?
1.Where are the sessions storing ? 2.What are the contents of a session file ? 3.If the server is loaded with too many session files there is a possibility of server crash. How can we solve this issue? 4. How does php server identify that the particular session belongs to particular user ? For ex: If two users A and B logged from different machine, separate session files (say 1 and 2) will be created in the server. But how the php knows that 1 belongs to A and 2 belongs to B ?