How to reload a php script, using AJAX and jQuery

Good evening, im a beginner in WordPress and i’d like some advices. I have a php script that load some articles thumbnails randomly according to some parameters. <div id=”logos ” class=”slide colonne”> <?php $posts = array( ‘posts_per_page’ => 5, ‘orderby’ => ‘rand’, ‘meta_query’ => array( array( ‘key’ => ‘_thumbnail_id’, ‘compare’ => ‘EXISTS’ ), ) );…