Ok iv been trying to make a place where i can show off my screenshots but it seems not to be working with this error!
CODE
Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ';' in /home/donclurd/public_html/82ndairborn/screenshots.php on line 20
But to my brain tells me HTML and Php wont go together with out alot of tweeking!
php
<?php
include 'header.php';
include 'body.php';
?>
<head>
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
</head>
<?php
include 'config.php';
include 'opendb.php';
$query = "SELECT filePath, name FROM screenshots ";
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result))
echo "<a href="$row['title']" rel="lightbox"" .
"title="$row['content']"></a>";
include 'closedb.php';
?>
<?php
include 'footer.php';
?>
Can any body see it because iv gone over it over and over!