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

Answer Posted / avishek kumar

we can use count() function for it like

count($_POST) ;

Is This Answer Correct ?    7 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of preg_match in php?

523


What is difference between ksort() and usort() functions.

514


How to receive a cookie from the browser?

551


What the limitation of header() function in php?

501


How to get complete current page url in php?

551






What is faster in php?

573


Is age an interval or ratio?

545


What is inheritance in php? How many types of inheritance supports php?

524


What websites use php?

513


Tell me how can we automatically escape incoming data?

496


What is a path Traversal?

553


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

500


Name and explain five of the PHP error constants?

509


What is the use of array_count_values() in php?

528


How to Retrieve a Cookie Value?

558