in a form which is handled by php language, how can we get a input elements which are in a kind of array like item1,item2,item3..... (if we only want those items that are having values)
example:-
<form method="post" action="<?php echo $PHP_SELF;?>">
item1 <input type="text" name="item1">
item2 <input type="text" name="item2">
item3 <input type="text" name="item3">
<input type="submit" value="submit" name="submit">
</form>