TwistedX Posted June 15, 2007 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> ?>
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now