Your content here
PHP to display car.ds for each chapter. See the doc in drive titled AI chat thread for the AI’s explanation of the code components.
<div class="container">
<?php
$chapters = [
[
"name" => "Chapter 1",
"location" => "New York",
"description" => "The first chapter of our club, located in the heart of New York City.",
/* add information to each the array item
"contact"=>"Organizer's name",
"contactEmail"=>"Organizer's email",
],
[
"name" => "Chapter 2",
"location" => "London",
"description" => "Our second chapter, located in the bustling city of London.",
],
[
"name" => "Chapter 3",
"location" => "Paris",
"description" => "The third chapter of our club, located in the romantic city of Paris.",
]
];
foreach ($chapters as $chapter) {
?>
<div class="card">
<div class="card-header">
<h3><?php echo $chapter["name"]; ?></h3>
</div>
<div class="card-body">
<p><?php echo $chapter["location"]; ?></p>
<p><?php echo $chapter["description"]; ?></p>
</div>
</div>
<?php
}
?>
</div>