Taking into account your earlier post:

$string = '';
foreach ( array_keys($_POST) as $var ) {
        if ( !is_empty($_POST[$var]) ) {
                string .= $var.' ';
        }
}
trim($string);




On Monday 02 June 2003 03:22 am, Shaun wrote:
> Hi,
>
> I have many textfields on my page. How can I add to a string the name of a
> textfield that ends in the same number as another textfield i.e. 5?
>
> Thanks for your help.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to