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 difference between $_files['userfile']['name'] and $_files['userfile']['tmp_name']?

539


What is the main difference between asp net and php?

534


Does php support overloading?

580


What are the advantages of stored procedures?

559


How do I check if a given variable is empty?

534






What enctype is required for file uploads to work?

531


How can we calculate the similarity between two strings?

588


When to use single quotes, double quotes, and backticks?

535


Explain how is it possible to cast types in php?

541


What is the difference between a session and cookies?

495


How to include a file code in different files in php?

520


Is it possible to use com component in php?

560


What is the use of ajax in php?

522


Tell me what is use of in_array() function in php?

577


Is empty function c++?

526