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. Link to comment https://forums.phpfreaks.com/topic/283005-help-with-code-something-wrong/ Share on other sites More sharing options...
gizmola Posted October 16, 2013 Share Posted October 16, 2013 If you're trying to make an array then: $rewards = array(1000, 1500, 2000, 2500, 3000, 3500, 4000, 5000); Link to comment https://forums.phpfreaks.com/topic/283005-help-with-code-something-wrong/#findComment-1454084 Share on other sites More sharing options...
MrIntel Posted October 16, 2013 Author Share Posted October 16, 2013 thanks thats what it was. Link to comment https://forums.phpfreaks.com/topic/283005-help-with-code-something-wrong/#findComment-1454087 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.