darkfreaks Posted September 19, 2007 Share Posted September 19, 2007 okay i get expecting ; on line 98 so here is lie 98 ".$catBrowse['items_counter'].")":"(".$catBrowse['items_counter'].")"; Quote Link to comment https://forums.phpfreaks.com/topic/69825-solved-syntax-errors/ Share on other sites More sharing options...
pocobueno1388 Posted September 19, 2007 Share Posted September 19, 2007 Whats the ":" in the middle for? If your trying to display that, you need to have it between the quotes. Try this: ".$catBrowse['items_counter'].")".$catBrowse['items_counter'].")"; If thats not right, give an example of what you want the display to look like. Also, show the rest of the code that goes along with that. Quote Link to comment https://forums.phpfreaks.com/topic/69825-solved-syntax-errors/#findComment-350782 Share on other sites More sharing options...
darkfreaks Posted September 19, 2007 Author Share Posted September 19, 2007 THE CODE: <?php if (eregi('Y', $setts['enable_cat_counters'])) echo ($catBrowse['items_counter']!=0); "(.$catBrowse['items_counter'].")".$catBrowse['items_counter'].")"; ?> i see alot of errors here lol its sposed to display the amount of items like Your Items:2 Quote Link to comment https://forums.phpfreaks.com/topic/69825-solved-syntax-errors/#findComment-350784 Share on other sites More sharing options...
pocobueno1388 Posted September 19, 2007 Share Posted September 19, 2007 echo ($catBrowse['items_counter']!=0)."(".$catBrowse['items_counter'].")".$catBrowse['items_counter'].")"; Quote Link to comment https://forums.phpfreaks.com/topic/69825-solved-syntax-errors/#findComment-350787 Share on other sites More sharing options...
darkfreaks Posted September 19, 2007 Author Share Posted September 19, 2007 ok i modified it with <?php if (eregi('Y', $setts['enable_cat_counters']))echo ($catBrowse['items_counter']!=0)."(".$catBrowse['items_counter'] .$catBrowse['items_counter'].)""; ?> now it gives me unexpected : how do i make it echo : without making it error? Quote Link to comment https://forums.phpfreaks.com/topic/69825-solved-syntax-errors/#findComment-350790 Share on other sites More sharing options...
pocobueno1388 Posted September 19, 2007 Share Posted September 19, 2007 <?php if (eregi('Y', $setts['enable_cat_counters'])) echo ($catBrowse['items_counter']!=0)."(".$catBrowse['items_counter']."".$catBrowse['items_counter'].")"; ?> Quote Link to comment https://forums.phpfreaks.com/topic/69825-solved-syntax-errors/#findComment-350797 Share on other sites More sharing options...
darkfreaks Posted September 19, 2007 Author Share Posted September 19, 2007 ok i worked out that error now i get expecting ) on line 164 <?php Article[i] = new Array (" <div class='borderfeat'> <div class='c1feat' style='padding: 3px;'> <b>  » </b> <a href='%3C?=$site_url.processLink('>$name[$numb], 'id' => $id([$numb]));?>'>"<? echo titleResize($name[$numb]));?>///line164 ?> Quote Link to comment https://forums.phpfreaks.com/topic/69825-solved-syntax-errors/#findComment-350803 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.