Re: [PHP] still problem with getting HIGHest and LOWest VALUES

2001-09-30 Thread Marc van de Geijn
Define the column as an INT or BIGINT. That should solve the problem. - Original Message - From: "Teqila MAN" <[EMAIL PROTECTED]> To: "News" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: 30 September 2001 17:15 Subject: Odp: [PHP] still problem

RE: [PHP] still problem with getting HIGHest and LOWest VALUES

2001-09-30 Thread Don Read
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)) >{ >

Odp: [PHP] still problem with getting HIGHest and LOWest VALUES

2001-09-30 Thread Teqila MAN
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 with getting HIGHest and LOWest VALUES > I'm not much into

Re: [PHP] still problem with getting HIGHest and LOWest VALUES

2001-09-30 Thread News
t: [PHP] still problem with getting HIGHest and LOWest VALUES > 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");

[PHP] still problem with getting HIGHest and LOWest VALUES

2001-09-30 Thread Teqila MAN
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)) { $id=$row["id"]; $price=$row["price"]; print("$price\n");