What is the best practice for integrating a "bold title" option in a PHP database query for a paid listing?

When integrating a "bold title" option in a PHP database query for a paid listing, you can use a conditional statement to check if the listing is paid and then apply the bold styling to the title accordingly. This can be achieved by using HTML <strong> tags around the title when echoing it out in the query result.

// Assuming $row is the fetched row from the database query
if ($row[&#039;is_paid&#039;] == 1) {
    echo &#039;&lt;strong&gt;&#039; . $row[&#039;title&#039;] . &#039;&lt;/strong&gt;&#039;;
} else {
    echo $row[&#039;title&#039;];
}