yeah, i'm starting a website, but im having trouble trying to figure out how to code my layout. i don't want to have to code every page using tables or css unless there's a way to get iframes into the tables. ive heard lots about php, but it sounds sort of complicated.
what should i do?
Other Answers:
As for an actual example of USING PHP... start building a regular HTML page, and where-ever you want your included files, do this...
<?php include('header.html') ?>
<p>Some text</p>
<?php include('footer.html') ?>
Save the file with the extension ".php" instead of ".htm" and a PHP-enabled web server will interpret and process all the instructions inside the PHP tags.
Simple enough, right? There are many more options of course, but it's nice that you don't have to bite off more than you can chew.
0 коммент.:
Post a Comment