Pull single random record from recordset
Hello,
Getting an error from this code:
<?php
$rsTestimonial = new WA_MySQLi_RS("rsTestimonial",$minBlog_i,1);
$rsTestimonial->setQuery("SELECT * FROM testimonials ORDER BY rand() limit 1");
$rsTestimonial->execute();
?>
I've used Order By rand() limit 1 in other queries without incident. Is there a new method required for the MySQLi behavior?