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 pdo classes?

760


What does echo mean in php?

775


What is dao in php?

691


Tell me can the value of a constant change during the script's execution?

888


What is return in php function?

737


What is stripslashes php?

698


Explain me how to include a file to a php page?

702


Explain PHP looping?

736


Tell me what kind of things have you done on the social side?

726


Tell me what is the difference between characters 34 and x34?

744


Explain Whitespace Characters?

789


Does php support function overloading?

732


How to check a variable is an array or not in php?

702


Is laravel an oop?

678


What are the advantages of triggers in php?

662