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;
Pagrindinis duomenų bazių ryšys, atsitiktinė užklausa, rodymo rezultatas CSS-gudrybės
Turinys