Does php have anything like the Visual Basic statement
Option Compare String
or
Option Compare Database
which controls how visual basic sorts strings like this.?
If it does, then it might help
*rushes off to check php manual*
--
---
theExile.vze.com
www.stpaulswalsall.com
--
PHP Database
You can use usort which use yor function to compare the values The syntax is
usort($aaray,function)
And use this function
function cmp($a, $b)
{
if (strtolower($a) == strtolower($b)) {
return 0;
}
return (strtolower($a) strtolower($b)) ? -1 : 1;
}
-Original Message-