TwistedX Posted June 15, 2007 Share Posted June 15, 2007 For PHP in HTML pages I found it easiest to do this: <?PHP $title ="titlegoeshere"; $header ="header,ifany,goeshere. leaveblankfornone"; $content1 = "insert some cool content hear"; $content2 ="sameasabove"; etc. etc. echo "<html><head>$header<title>$title</title></header><body bgcolor='#000000'>//its important you use ' not " because otherwise you will get a php parse error <p>$conent</p> <p>$content2</p> etc. etc. </body> </html> ?> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.