ghost parse error?
| From: | Addison Ellis | Date: | Mon, 20 Jan 2003 14:43:29 +0000 |
| Subject: | ghost parse error? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-24967@lists.php.net to get a copy of this message | ||
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">></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