I am trying to add css style to this echo.
// Execute the query
if($stmt->execute()){
echo "Record was updated.";
I have tried
// Execute the query
if($stmt->execute()){
echo "<p style=\"font-color: red;\">Record was updated</p>";
and although there was no errors, the styling was not applied. How might I succeed in this please.