Teddy D

Generation

translateMon, 30 Jan 2023

insert values from the loop

<?php foreach($posts as $post): ?> <h2><?= $post->title; ?></h2> <p><?= $post->intro; ?></p> <?php endforeach; ?>

Questions about programming?Chat with your personal AI assistant