Need help with this.
Parse error: syntax error, unexpected T_STRING in C:\xampp\htdocs\pixels\index.php on line 35

<?php

include_once ("config.php");

?>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
	<link rel=StyleSheet type="text/css" href="main.css" >
</head>
<body class="main">

	<div class="outer">
		<div class="inner">
		
			<div class="heading">
			
				<!-- logo image -->
				<div class="logo">
					<a href="index.php">
						<img src="<?php echo SITE_LOGO_URL; ?>" style="border:0px;" alt="" />
					</a>
				</div>
				
				<!-- slogan -->
				<div class="slogan">
					<?php echo SITE_SLOGAN; ?>
				</div>
				
				<!-- stats iframe -->
				<div class="status_outer">
					<iframe width="150" height="50" frameborder=0 marginwidth=0 marginheight=0 VSPACE=0 HSPACE=0 SCROLLING=no  src="display_stats.php?BID=1" allowtransparency="true"></iframe>
				</div>
				
				<div class="clear"></div>
			</div>
			
			<!-- menu links -->
			<div class="menu_outer">
				<div class="menu_bar">
					<ul class="menu">
						<li><a href='index.php'>Home</a></li>
						<li><a href='users/'>Buy Pixels</a></li>
					</ul>
					<div class="clear"></div>
				</div>
			</div>
			
			<!-- Note: Here is the iframe which displays the image map. Use the admin to process the image map -->
			<div class="grid">
				<iframe style="margin:0 auto;" width="1001" height="1001" frameborder=0 marginwidth=0 marginheight=0 vspace=0 hspace=0 scrolling=no allowtransparency="true" src="display_map.php?BID=1"></iframe>
			</div>
			<div class="clear"></div>
			
		</div>
		<div class="clear"></div>
	</div>

</body>
</html>

Recommended Answers

All 2 Replies

It is a php error coming from your display_map.php page. what code is on that page?

can you post the code on this page display_stats.php?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.