How can you count number of parameters given in a URL by
POST method?
Answers were Sorted based on User's Feedback
Answer / avishek kumar
we can use count() function for it like
count($_POST) ;
Is This Answer Correct ? | 7 Yes | 3 No |
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 |
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 |
What are the array functions in php?
Which is better session or cookie?
What are the features of object-oriented programming in php?
AentteQ Software Technologies Q: what are benifits of using LAMP..?
How can we automatically escape incoming data?
how to detect a mobile device using php
how many type of url?
What is mysqli_real_escape_string?
How to remove blank spaces from the string?
What type of operation is needed when passing values through a form or an url?
Is java is better than php?
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