Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • SELECT reg_number FROM users ORDER BY RAND() LIMIT 1? Commented Aug 31, 2014 at 21:56
  • @Class I have used it but show all values randomly. I want only one value from these to show on the page. Commented Aug 31, 2014 at 22:08
  • did you also use LIMIT 1 because it limits the results of the search Commented Aug 31, 2014 at 22:10
  • @Class oh sorry I forgot that thank you very much you make my life easy. Commented Aug 31, 2014 at 22:15