MrIntel Posted October 16, 2013 Share Posted October 16, 2013 Parse error: syntax error, unexpected ',' in /home/a8428549/public_html/config.php on line 21 $rewards = (1000, 1500, 2000, 2500, 3000, 3500, 4000, 5000); $minReward = min($rewards); $maxReward = max($rewards); Dont know what to do kinda new to php. Quote Link to comment Share on other sites More sharing options...
Solution gizmola Posted October 16, 2013 Solution Share Posted October 16, 2013 If you're trying to make an array then: $rewards = array(1000, 1500, 2000, 2500, 3000, 3500, 4000, 5000); Quote Link to comment Share on other sites More sharing options...
MrIntel Posted October 16, 2013 Author Share Posted October 16, 2013 thanks thats what it was. 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.