query( 'SELECT testimonial, author FROM recommendations WHERE 1 ORDER by rand() LIMIT 1' ); foreach ( $results as $row ) ( echo '
' . $row('testimonial') . '
'; echo '
-' . $row('author') . '
'; ) // Close the connection $db_connection = null;
query( 'SELECT testimonial, author FROM recommendations WHERE 1 ORDER by rand() LIMIT 1' ); foreach ( $results as $row ) ( echo '
' . $row('testimonial') . '
'; echo '
-' . $row('author') . '
'; ) // Close the connection $db_connection = null;