ghost parse error?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello,
if you could check this code that would be awesome. i am getting a parse error on line 16 but line 16 has nothing on it and my eyes are missing something... maybe my mind. anyway... thank you again. best, addison

<?
session_start(); if (@$auth != "yes") {
header("Location: login.php");
exit();
}
include("config.php");
$sql = "SELECT first_name,last_name FROM accounts WHERE email='$logname'";
$result = mysql_query($sql)
or die("Couldn't execute query 1.");
$row = mysql_fetch_array($result,MYSQL_ASSOC);
extract($row);
?>

<?
$cobj = mysql_db_query($dbname,"select * from category where id=$category");
$crow = mysql_fetch_object($cobj);
?>

<?
$scobj = mysql_db_query($dbname,"select * from subcategory where id=$subcategory");
while ($scrow = mysql_fetch_object($scobj);
?>


<?
echo "
<head><title>Directing</title></head>
<h2 align='center' style='margin-top: .7in'>
$first_name $last_name</h2>\n";
?>
<p align="center"><br>
<b><font color="#CC9933" size="2" face="Arial, Helvetica, sans-serif">
<? echo $crow->name;?>
<font size="3">&gt;</font>
<? echo $scrow->name;?>
</font></b> <font color="#3399FF" size="3" face="Arial, Helvetica, sans-serif">
Directing . . .</font></p>
<form method="post" action="">
</form>
--
Addison Ellis
small independent publishing co.
114 B 29th Avenue North
Nashville, TN 37203
(615) 321-1791
addison@bellsouth.net
info@smipco.com
subsidiaries of small independent publishing co.
info@gloabaldog.com
info@momandpocentral.com

[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux