QUOTE(no2pencil @ 26 Jan, 2008 - 04:48 PM)

QUOTE(Barmoen @ 26 Jan, 2008 - 02:56 PM)

what do I write then, to intergrate them into the html?
CODE
<?php
echo "<html><head><title>This is a php generated page</title>";
echo "</head><body align=center>";
echo "<table border=1>";
for($i=0;$i<10;$i++) {
echo "<tr><td> Table row # ".$i."</td></tr>";
}
echo "</table></body></html>";
?>
something like this....?
If this is what you are looking for, you might want to have a read of some example code over at
php.netI would say that's a really bad idea to just use echos, a better one is to use a templating engine. But as someone already said, first get ALL of your website in HTML! Then correct the css after some testing if needed add javascript. Only after you have it all compelete worry about the dynamic part, or the PHP. Trust me it will save you a ton of time, learned it myself, it's alot easier to develop the php and the templates if you know exactly what the output is supposed to look like.
To find some information on php + mysql go to
http://www.3dbuzz.com, sign up, they have free great tutorials for php, that is video tutorials

. Now about a templating solution, probably the best one is Smarty, but there are others out there, smarty just works for me, haven't had a reason to try anything else really. You can find out about it here:
http://www.smarty.net.
Good luck.