how to get php to embed in xhtml?

  • Thread starter Thread starter nateapan2583
  • Start date Start date
N

nateapan2583

Guest
Hi,
I can't get my cutenews to show up on this page. What am I doing wrong. Here is the url. Http://live-a-lie.org/template/index.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">


<head>
<title> YOURSITE.COM </title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Your Keywords Here" />
<meta name="author" content="Faith Bowie" />

<link href="style.css" rel="stylesheet" type="text/css" />



</head>
<body>

<div id="container">

<div id="header">

</div>
<div id="container2">
<div id="content">

<div class="title">Title Here</div>
<div class="landing">
<p><?PHP
$number=10;
include("/home/selfish/public_html/lii/show_news.php");
?></p></div>


</div>

<div id="rightbar">

<div class="sub1">Welcome</div>
<div class="sub2">
<p>Your welcome message goes here. Make sure to use the proper XHTML when coding your message to keep this layout valid!</p>
<p>This space should contain a quick run-down of your site and welcome message.</p>

</div>

<div class="sub1">navigation</div>
<ul class="navigation">
<li><a href="">PAGE NUMBER ONE</a></li>
<li><a href="">PAGE NUMBER TWO</a></li>
<li><a href="">PAGE NUMBER THREE</a></li>
<li><a href="">PAGE NUMBER FOUR</a></li>
<li><a href="">PAGE NUMBER FIVE</a></li>
</ul>




<div class="sub1">site credits</div>

<ul class="navigation">
<li><a href="http://beautiful-sin.net">Layout and Brushes</a></li>
<li><a href="http://44suburbia.org">Texture</a></li>
<li><a href="http://validator.w3.org/check?uri=referer">XHTML 1.0 Strict</a></li>
</ul>



<div class="sub1">Link Button</div>
<div class="sub2">
<img src="button.png" alt="button.png" class="displayed" />
</div>


</div>




</div></div>

</body>
</html>
 
Back
Top