Jump to content

Probably So Simple But I Carnt Get It!


sooty2006
 Share

Recommended Posts

i have been doing php for over 3 years now i have many sites. but this seams to be so simple but i just carnt get it to work.i am trying to show the most profit and the least profit.the most profit is fine i get using DESC but when you go to minus figures and i use ASC for getting the smallest figure it dosnt bring the smallest figure to screen.eg...-1-1000it will print -1 not the -1000 how do i get to print -1000?all help would be great! scott

Link to comment
Share on other sites

i have edited my code a small bit and changed the table colum type to bigint and all has worked fine!see i told you it would of been simple, you always forget the obvious! thanks for all your help!!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...