View Full Version : coding help
05-21-2010, 12:29 AM
05-21-2010, 12:57 AM
05-21-2010, 01:24 AM
Yes, you can. However, this is really not an HTML/CSS issue. What I generally do when I am doing this is I write up my entire HTML page, style it, and then take that and apply PHP code to it. The way PHP works is it is interpreted (run) before the page is sent to the browser, and the result of running the PHP code is what is sent to the browser.
So, for example, I can take this basic HTML page:
<title>This is my site.</title>
and add PHP to it like this:
<title><?php print $title; ?></title>
<p>Hello <?php print $userName; ?></p>
and save that as a .php file, and you can see that a title and welcome text will be added dynamically.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.