View Full Version : html blocks in php
04-16-2004, 04:25 AM
Is there a guideline or special rule when intermingling the two for instance, to center a printed (echoed) message? Read an article on this and im interested, but i haven't found a source other then that.
04-16-2004, 06:45 AM
With Print or Echo, you can use anything you would put in a normal html file. Such as:
print '<p style="text-align:center;">Some Centered Text</p>';
04-16-2004, 07:45 AM
echo "<p style=\"text-align:center;\">Some Centered Text</p>";
and the echo statement ...
my personal view on things
http://www.codingforums.com/showthread.php?t=36744&highlight=mode --> last post + included link there
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.