Get mysql on random
Posted: Fri Apr 13, 2007 4:35 am
Hello ppl
I need to access the values of a mysql query in random ways, this means, when i do a mysql query for example i have 5 rows, but i only want to access the row 2 and the row 4, how can i access the rows that i want ? I need something like this: $row=mysql_fetch_array($query, $number_register)
With the best regards
Hugo Gomes
I need to access the values of a mysql query in random ways, this means, when i do a mysql query for example i have 5 rows, but i only want to access the row 2 and the row 4, how can i access the rows that i want ? I need something like this: $row=mysql_fetch_array($query, $number_register)
With the best regards
Hugo Gomes