> how can i sort names by first letter, like, show only names starting
> with a, then b, c .. etc
Where is the data? In an array? database? file?
If it's a database, then you can just do
SELECT * FROM table WHERE column LIKE 'a%'
or
SELECT * FROM table WHERE LEFT(column,1) = 'a'
---John Holmes
Hi,
how can i sort names by first letter, like, show only names starting
with a, then b, c .. etc
tnx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
2 matches
Mail list logo