|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
RE: Random row
never mind, i figured it out...just had to lose a couple of ` things...
|
|
#2
|
|||
|
|||
|
Random row
Sorry, i know this is probably an easy question, but i'm not too familiar with SQL, but how do you select a random row from the database?
this is what i have so far cheers |
|
#3
|
|||
|
|||
|
RE: Random row
Are you going to let us in on the answer?
|
|
#4
|
|||
|
|||
|
RE: Random row
The easiest way to select a random row is just like :
SELECT * FROM table ORDER BY rand() LIMIT 1 |
|
#5
|
|||
|
|||
|
RE: Random row
thats exactly what i got
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > Random row |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|