Hi,

> I am not sure how to go about doing this so I would like to ask the experts.
> I would like to make or find a php function would allow me to use the
> arguments passed to a page or the arguments passed to a function as an
> array. Imagine how easily you could trim, htmlentities and do any number of
> things if you could set up a loop to take care of all or a selection of
> values passed!!!!

foreach($HTTP_GET_VARS as $key => $value)
  $$key = htmlentities($value);

(not tested)

Kind Regards,
  Daniel Lorch
  http://daniel.lorch.cc/
-- 
@echo "Hello, World";



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to