lo hice y fijate
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'RAND() LIMIT 0, 3' at line 1
Código PHP:
mysql_select_db($database_cersol, $cersol);
$query_Recordset1 = "SELECT * FROM destacados ORDER BY id RAND()";
$query_limit_Recordset1 = sprintf("%s LIMIT %d, %d", $query_Recordset1, $startRow_Recordset1, $maxRows_Recordset1);
$Recordset1 = mysql_query($query_limit_Recordset1, $cersol) or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1);