unexpected T_VARIABLE
Posted: Wed Oct 02, 2002 10:27 am
k, what doe sthis error mean?
Parse error: parse error, unexpected T_VARIABLE in d:\phpdev5\www\public\projects\xtrition\poems.php on line 52
its this line
Parse error: parse error, unexpected T_VARIABLE in d:\phpdev5\www\public\projects\xtrition\poems.php on line 52
Code: Select all
<? $edge_cleanpage = true; ?>
<? include('poems.config.php') ?>
<? include('edge.header.php'); ?>
<?
$tem = (int)$tem;
$fil = checkstr_($fil);
?>
<br>
<br>
<?
if ($tem='')
{
echo '<center><a href=poems.php?tem=1>'.$edge_poemї1].'</a><br>
<a href=poems.php?tem=0>'.$edge_poemї0].'</a></center>';
}
else
{
edge_do_title('<font size=-1>'.$edge_poemї$tem].'</font>');
if (!$fil)
{
echo 'please choose the auhors name.<br>';
echo '<a href=poems.php?tem='.$tem.'&fil=a>a</a> -
<a href=poems.php?tem='.$tem.'&fil=b>b</a> -
<a href=poems.php?tem='.$tem.'&fil=c>c</a> -
<a href=poems.php?tem='.$tem.'&fil=d>d</a> -
<a href=poems.php?tem='.$tem.'&fil=e>e</a> -
<a href=poems.php?tem='.$tem.'&fil=f>f</a> -
<a href=poems.php?tem='.$tem.'&fil=g>g</a> -
<a href=poems.php?tem='.$tem.'&fil=h>h</a> -
<a href=poems.php?tem='.$tem.'&fil=i>i</a> -
<a href=poems.php?tem='.$tem.'&fil=j>j</a> -
<a href=poems.php?tem='.$tem.'&fil=k>k</a> -
<a href=poems.php?tem='.$tem.'&fil=l>l</a> -
<a href=poems.php?tem='.$tem.'&fil=m>m</a> -
<a href=poems.php?tem='.$tem.'&fil=n>n</a> -
<a href=poems.php?tem='.$tem.'&fil=o>o</a> -
<a href=poems.php?tem='.$tem.'&fil=p>p</a> -
<a href=poems.php?tem='.$tem.'&fil=q>q</a> -
<a href=poems.php?tem='.$tem.'&fil=r>r</a> -
<a href=poems.php?tem='.$tem.'&fil=s>s</a> -
<a href=poems.php?tem='.$tem.'&fil=t>t</a> -
<a href=poems.php?tem='.$tem.'&fil=u>u</a> -
<a href=poems.php?tem='.$tem.'&fil=v>v</a> -
<a href=poems.php?tem='.$tem.'&fil=w>w</a> -
<a href=poems.php?tem='.$tem.'&fil=x>x</a> -
<a href=poems.php?tem='.$tem.'&fil=y>y</a> -
<a href=poems.php?tem='.$tem.'&fil=z>z</a>';
}
else
{
$quer = 'SELECT * FROM poems WHERE author like '%$fil%' AND theme='$edge_poemї$tem]' ORDER BY author'
}
}
?>
<? include('edge.footer.php'); ?>Code: Select all
$quer = 'SELECT * FROM poems WHERE author like '%$fil%' AND theme='$edge_poemї$tem]' ORDER BY author'