Subject: How to count number of parameters given in URL by
Posted By: alfiecrosby Post Date: 4/16/2008 3:23:48 PM
Hi there...

this is my first time to post here and i know this community will be the answer to my question....

How to count number of parameters given in URL by POST?

thanks for any reply....


http://www.interventiontoday.com/
Reply By: phpPro2000 Reply Date: 4/23/2008 1:57:24 AM
This should do the trick:-


<?php
  $count = count($_POST);
  echo $count;
?>


Please note, the submit button is also a posted field. Hence, it will be included in the count as well.


Go to topic 70795

Return to index page 2
Return to index page 1