Home » questions » php-mysql, order the results of a query in a confusing way.?
php-mysql, order the results of a query in a confusing way.?
There is a database with 10 records and 2 fields. Ex:
0,-
1,-
2,-
3,-
4,1,
5,2
6,3
7,4
8,-
9,- etc.
I want all the records selected en sorted like:
1
2
3
4
-
-
-
-
-
-
etc
the integer values on the top in ASC end the null's underneath
ex. delect variable1, variable2 from database .......
I want the order by code to acomplish such an order
How do i do it?

Answers
clievers
On 2006-08-14 15:21:25