Koneksi Database Dasar, Query Acak, Hasil Tampilan - Trik CSS

Anonim
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;