with getting HIGHest and LOWest VALUES
> Yes i have it defined as text so what should i put instead ?
>
> - Wiadomość oryginalna -
> Od: News <[EMAIL PROTECTED]>
> Do: <[EMAIL PROTECTED]>
> Wysłano: 30 września 2001 16:47
> Temat: Re: [PHP] still problem wi
On 30-Sep-2001 Teqila MAN wrote:
> The table has values :
>
> id - price
> 1 - 15
> 2 - 24000
> 3 - 65000
> 4 - 20
>
>
> When i want to sort it
>
> $x = mysql_query("SELECT * FROM $dealer_tabela ORDER BY cena");
>while ($row = mysql_fetch_array($x))
>{
>
I'm not much into PHP, but looking at it from SQL I guess you have defined
the price column as a string? Make it an integer...?
Marc
- Original Message -
From: "Teqila MAN" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: 30 September 2001 16:22
Subject: [PHP] still problem with getting
3 matches
Mail list logo