Jump to content

Many errors


Jimmyco

Recommended Posts

Hey. I have a php script I am having trouble with. We took it for one part of our site and we trying to make it work free standing. There are useless functions that are causing errors, but I am not sure how to take them out. I don't know if I am allowed to post the whole script but I think it is important to do so. Please help

I put the script in a txt file.

[a href=\"http://www.thepawn.com/original.txt\" target=\"_blank\"]Link to text of script[/a]

Note: The includes , myconnect and left_cats dont have any functions the script is calling for therefore I didnt include them.

Please help!
Link to comment
https://forums.phpfreaks.com/topic/5431-many-errors/
Share on other sites

[!--quoteo(post=357022:date=Mar 21 2006, 10:20 AM:name=thorpe)--][div class=\'quotetop\']QUOTE(thorpe @ Mar 21 2006, 10:20 AM) [snapback]357022[/snapback][/div][div class=\'quotemain\'][!--quotec--]
You might want to narrow the problem down some and then come back and tell us what the errors are. Just posting a mass of code and saying it has errors does not help us help you.
[/quote]

Ops!

Fatal error: Call to undefined function: () in /www/t/thepawncom/htdocs/jtest/body.php on line 460

[a href=\"http://www.thepawn.com/jtest/\" target=\"_blank\"]View the page/ error I am talking about HERE[/a]

Thanks!
Link to comment
https://forums.phpfreaks.com/topic/5431-many-errors/#findComment-19404
Share on other sites

[!--quoteo(post=357034:date=Mar 21 2006, 10:53 AM:name=thorpe)--][div class=\'quotetop\']QUOTE(thorpe @ Mar 21 2006, 10:53 AM) [snapback]357034[/snapback][/div][div class=\'quotemain\'][!--quotec--]
Cool. Now you might want to post the code a little before and a little after line 460.
[/quote]


if($num<=0)

echo $config["null_char"];

else

echo $num;

?>
<?

if($rs0["bold"]=='yes')

{echo "</strong>";}

?>
</font> </td>
<td align="center"><font color="#003366" size="1" face="Verdana, Arial, Helvetica, sans-serif">
<?

if($rs0["bold"]=='yes')

{echo "<strong>";}

?>
<?

echo $sb_date($rs0["endson"],0);

?>
<?

if($rs0["bold"]=='yes')

{echo "</strong>";}

?>
</font> </td>
</tr>
<?

$cnt++;

}//display

$row++;

}// end while

?>
Link to comment
https://forums.phpfreaks.com/topic/5431-many-errors/#findComment-19410
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.