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 Quote 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? Quote Link to comment https://forums.phpfreaks.com/topic/185396-phpbb3-code/#findComment-978777 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.