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'].")"; 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. 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 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'].")"; 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? 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'].")"; ?> 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 ?> Link to comment https://forums.phpfreaks.com/topic/69825-solved-syntax-errors/#findComment-350803 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.