light-angel Posted December 16, 2009 Share Posted December 16, 2009 ive made my own script to work with phpbb3 but i keep getting a error in this part can someone help me plz <?php if(in_array(1697, $group_id_ary) { echo "You can now add the show want to."; include ('inc/addshow.php'); } else { echo "You do not have the rights to use this page. Login to gain access"; } ?> this is the error im getting Parse error: syntax error, unexpected '{' in /home/wow/public_html/tvmugg/addshow.php on line 41 Link to comment https://forums.phpfreaks.com/topic/185396-phpbb3-code/ Share on other sites More sharing options...
Daniel0 Posted December 16, 2009 Share Posted December 16, 2009 Look at this line: if(in_array(1697, $group_id_ary) Now count the opening parentheses and the closing parentheses. Notice anything? Link to comment https://forums.phpfreaks.com/topic/185396-phpbb3-code/#findComment-978777 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.