• Reece

    (@firstclasscode)


    Hello,

    I have been trying for hours this morning to get these results randomized with no luck. I tried using examples from the Codex, from other support threads,a nd even stackoverflow. I feel like I am missing something simple.

    I pulled this code from a theme (developers are of no help) and I need to make the results random.

    return "{$wpdb->postmeta}.meta_value + 0 {$order}, {$wpdb->posts}.post_date DESC";

    Any help is appreciated.
    Thanks!

  • The topic ‘Randomizing Results From WPDB Query’ is closed to new replies.