Re: Optimizing Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux