Chris
09-22-2007, 08:28 AM
Parse error: syntax error, unexpected T_LNUMBER in /home/virilneu/public_html/recipes/search.php on line 58
Line 58 isn't even PHP.
?>
<br /><h3>Search Results</h3><table border = "0" class="rows" style = "border: 1px solid #261C13;"><tr class = "even">
<?
I turn it into php:
echo '<br /><h3>Search Results</h3><table border = "0" class="rows" style = "border: 1px solid #261C13;"><tr class = "even">';
and get the same error, I remove the line entirely....
and get this next error
Parse error: syntax error, unexpected '=' in /home/virilneu/public_html/recipes/search.php on line 64
Like 64 also isn't really php...
while($main = mysql_fetch_array($view)) {
?><td><a href = "/recipes/recipeview.php?rid=<?=$main['id'];?>"><?=$main['recipename'];?></a></li>
<?
The line with the link is 64.
I copied this code verbatim from another script of mine. Works fine there... wth?
Line 58 isn't even PHP.
?>
<br /><h3>Search Results</h3><table border = "0" class="rows" style = "border: 1px solid #261C13;"><tr class = "even">
<?
I turn it into php:
echo '<br /><h3>Search Results</h3><table border = "0" class="rows" style = "border: 1px solid #261C13;"><tr class = "even">';
and get the same error, I remove the line entirely....
and get this next error
Parse error: syntax error, unexpected '=' in /home/virilneu/public_html/recipes/search.php on line 64
Like 64 also isn't really php...
while($main = mysql_fetch_array($view)) {
?><td><a href = "/recipes/recipeview.php?rid=<?=$main['id'];?>"><?=$main['recipename'];?></a></li>
<?
The line with the link is 64.
I copied this code verbatim from another script of mine. Works fine there... wth?