Conexión de base de datos básica, consulta aleatoria, resultado de visualización - Trucos 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;