Jump to content

Wayder

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Wayder's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thanks ben I tried that, but it does not do what I need. You see, the code first randomises, then restricts to the first six. What I need to do, is to restrict to the first six, then randomise only the six.
  2. Hi, I need to randomise the selected rows. $sql = mysql_query(\"SELECT col1, col2, col3, col4 FROM table WHERE col2 = \'$a\' or col3 = \'$b\' or col4 = \'$ip\' limit 0,6\") or die(mysql_error()) I have my first six rows. How do I randomise the 6 selected rows? Thanks
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.