How to format text using Echo?
Posted 18 April 2006 - 10:27 PM
i need this text to be red, tahoma, and size 16. what do i have to do to add to the code?
echo "Record Updated Successfully - Update Another ?";
Posted 18 April 2006 - 10:33 PM
Posted 19 April 2006 - 12:34 AM
i got the text to be a certain size, but cant get it to be Tahoma text...can anyone give me the code. the code i got so far is:
echo "<FONT SIZE=4>Stock Updated Successfully - Update Another ?</FONT>";
i got it to work, thanks anyway
Posted 19 April 2006 - 01:19 AM
<?php echo '<span style="font-family:Tahoma;color:red;font-size:200%">Stock Updated Successfully - Update Another ?</span>'; ?>The "style" attribute is the in-line way of applying CSS attibutes to data on you pages. Learn CSS.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users