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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the function of string in c?

517


How send email using php?

525


How many escape sequences are recognized in double-quoted strings?

532


Write a program using while loop in php?

559


What is the method to register a variable into a session?

475






What is repository in php?

517


Is php better than python?

541


Explain php parameterized functions.

545


What is variable give example?

547


How can you increase the maximum execution time of a script in php?

509


what the new feature add in php 7.2?

530


What are the features of php?

541


write a note on Testing the web site

1406


What's the difference between __sleep and __wakeup?

536


Which method removes the last element from the end of an array?

486