[PHP]how can I get this text in blue color? echo "Website: " . $row['website'];?

rolandihasz

New member
I would like to do some modification on my code, for example text style, color etc.
How can I do that?

echo "Company Profile: <br />" . $row['companyProfile'];
echo "<br />"; echo "<br />";
echo "Website: " . $row['website'];
echo "<br />";
echo "Email: " . $row['cemil'];
echo "<br />";
echo "Tel: " .$row['tel'];
echo "<br />";
echo "Fax: " . $row['fax'];
echo "<br />";

Would be a huge help for me!

Any help appretiated.
 
1. You don't need so many echo's. Just one is fine. If you want it to break to the next line just use <br>
2. Blue Color: echo "<span style='color: blue;'>Website: ".$row['website']."</span>";
You can also add links, tables, and inputs this way.
 
Back
Top