Re: Optimizing Help

From: Date: Mon, 13 Jun 2005 15:30:15 +0000
Subject: Re: Optimizing Help
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-216891@lists.php.net to get a copy of this message
Jackson, Yeah, what you can do is place all your form values you just got into an array, and then act on each of them in turn by looping through the array when it comes to repetitive jobs, such as the mysql_real_escape_string(trim($_POST['variable'])) part of the code I referred to earlier. You could also use a similar method for generating your date <option> menus later (lines > 342). Needless to say, this is only my way of doing things, and other list members will have different/better ideas no doubt!!! Cheers Chris

« previous php.general (#216891) next »