itbeings
06-28-2006, 04:16 PM
I want to display only 5 or 10 from my SELECT * FROM table_name; query.
If the query selects all from the table_name, I want it to randomly pick any 5 or 10. and when the page is refreshed it will run again and display different values, selecting randonly.
How can I go about this in php?
If the query selects all from the table_name, I want it to randomly pick any 5 or 10. and when the page is refreshed it will run again and display different values, selecting randonly.
How can I go about this in php?