Jimmyco Posted March 21, 2006 Share Posted March 21, 2006 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 helpI 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! Quote Link to comment Share on other sites More sharing options...
trq Posted March 21, 2006 Share Posted March 21, 2006 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 Link to comment Share on other sites More sharing options...
Jimmyco Posted March 21, 2006 Author Share Posted March 21, 2006 [!--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! Quote Link to comment Share on other sites More sharing options...
trq Posted March 21, 2006 Share Posted March 21, 2006 Cool. Now you might want to post the code a little before and a little after line 460. Quote Link to comment Share on other sites More sharing options...
Jimmyco Posted March 21, 2006 Author Share Posted March 21, 2006 [!--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 ?> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.