Code: Select all
$staffnames=mysql_query("SELECT name FROM $table WHERE name>='d' AND name<='Ez' ORDER BY name ASC");For my second conditon (name<='Ez'), should I have used (name<'f')? I'm wondering if <='Ez' would skip over the name "Ezzy".
And that brings me to one last question (for now): how does PHP and/or MySQL order characters? Can anyone point me to a reference?
Thanks in advance!
(Edited : Infolock Moved to Database forum )[/b]