Have a recordset of donors and set a certain field in db with years donated (2021 ,2022 etc) I want to have donors with 2021, 2022 in that field show with bold font and different color text
This post has been deleted.
This post has been deleted.
<?php
if ($Recordset->getColumnVal("yearsDonated") == "2021, 2022") {
?>
<strong><?php echo($Recordset->getColumnVal("yearsDonated")); ?></strong>
<?php
} else {
echo($Recordset->getColumnVal("yearsDonated"));
}
?>
Just add a class.... like:
<?php
if ($Recordset->getColumnVal("yearsDonated") == "2021, 2022") {
?>
<strong class="yourclass"><?php echo($Recordset->getColumnVal("yearsDonated")); ?></strong>
<?php
} else {
echo($Recordset->getColumnVal("yearsDonated"));
}
?>
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.