> When you say,
> Order by RAND()
> I would think the "Order by" construct expects a column name.
> In your case, it gets a decimal value.
> How does "Order by" treat decimal values?
> Oh, I just checked the manual:
> In MySQL Version 3.23, you can, however, do: SELECT * FROM
> table_n
When you say,
Order by RAND()
I would think the "Order by" construct expects a column name.
In your case, it gets a decimal value.
How does "Order by" treat decimal values?
Oh, I just checked the manual:
In MySQL Version 3.23, you can, however, do: SELECT * FROM table_name ORDER BY RAND()
I st
PHP] retrieving random data from mysql database
hi,
can you teach me how to retrieve random data from my database? like for
example...i have a list of names on my database and i'd like to retrieve
only one name at a time..randomly. how do i go about this?
hope someone can help...thanx.
-
> can you teach me how to retrieve random data from my
> database? like for example...i have a list of names on my
> database and i'd like to retrieve only one name at a
> time..randomly. how do i go about this?
This is really a database question rather than a php question and you
haven't
hi,
can you teach me how to retrieve random data from my database? like for example...i
have a list of names on my database and i'd like to retrieve only one name at a
time..randomly. how do i go about this?
hope someone can help...thanx.
5 matches
Mail list logo