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

What are the array functions in php?

0 Answers  


Which is better session or cookie?

0 Answers  


What are the features of object-oriented programming in php?

0 Answers  


AentteQ Software Technologies Q: what are benifits of using LAMP..?

5 Answers  


How can we automatically escape incoming data?

0 Answers  






how to detect a mobile device using php

0 Answers  


how many type of url?

1 Answers  


What is mysqli_real_escape_string?

0 Answers  


How to remove blank spaces from the string?

0 Answers  


What type of operation is needed when passing values through a form or an url?

0 Answers  


Is java is better than php?

0 Answers  


I need to know about the courses which are useful in corporate companies.. especially php/mySQL, Java/j2ee, .NET.. also tell if any other courses are valuable

0 Answers  


Categories