Done. You must have read my mind. I just finished putting the whole thing in MySQL - since I am using it anyway to hold all my other data it was easy to do. Took me about 45 minutes to do this as opposed to a week with the other, and it still didn't work. I'd still be curious to why the other is didn't work though. I know my logic is correct, but maybe what I was trying to do just wasn't feasible.
Thanks for the input. -----Original Message----- From: Curt Zirzow [mailto:[EMAIL PROTECTED] Sent: July 19, 2003 2:33 AM To: PHP Subject: Re: [PHP] Enough is Enough....... Beauford.2005 <[EMAIL PROTECTED]> wrote: > Hi, Hello > [...] > > $list = preg_replace('/(<.*?>)(.*)/', '$2$1', $list); > sort ($list); > $list = preg_replace('/(.*?)(<.*>)/', '$2$1', $list); what is list after the first preg and after the second one, that regex doesn't look safe to me. Do you have access to a database? This task would be a whole lot easier to do, plus a whole lot more safer. Curt -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php