How can you count number of parameters given in a URL by
POST method?

Answers were Sorted based on User's Feedback



How can you count number of parameters given in a URL by POST method?..

Answer / krisha

think count($_POST) will work.check it out.

Is This Answer Correct ?    27 Yes 6 No

How can you count number of parameters given in a URL by POST method?..

Answer / avishek kumar

we can use count() function for it like

count($_POST) ;

Is This Answer Correct ?    7 Yes 3 No

How can you count number of parameters given in a URL by POST method?..

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

How can you count number of parameters given in a URL by POST method?..

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 can you count number of parameters given in a URL by POST method?..

Answer / sudipto

It will be count($_REQUEST), it will work

Is This Answer Correct ?    4 Yes 13 No

Post New Answer

More PHP Interview Questions

Will php die?

0 Answers  


What is php constructor?

0 Answers  


Is laravel easy to learn?

0 Answers  


Which are the best start and end tags to use?

0 Answers  


Tell me what is the difference between exception::getmessage and exception::getline?

0 Answers  






What is the use of the function htmlentities?

0 Answers  


Explain how we can get the number of elements in an array?

0 Answers  


How can we upload a php + mysql Site

1 Answers  


Write down the code for saving an uploaded file in PHP.

0 Answers  


What is variable give example?

0 Answers  


What is the meaning of ‘escaping to php’?

0 Answers  


What is php and sql used for?

0 Answers  


Categories