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