Strategic Designs Ltd., forums
https://www.startersorders.com/phpBB2/

Attn Leon
https://www.startersorders.com/phpBB2/viewtopic.php?f=16&t=20606
Page 1 of 1

Author:  Githyanki [ Fri Apr 08, 2022 11:46 am ]
Post subject:  Attn Leon

Ground in Australia always seems to be Heavy, can you check your weather thingy.

Author:  leonvr [ Fri Apr 08, 2022 1:39 pm ]
Post subject:  Re: Attn Leon

Yes you right. This is the logic. Note there is no chance of heavy

if ($course_id == 'Caulfield' || $course_id == 'Randwick' || $course_id == 'Flemington' || $course_id == 'Moone Valley' || $course_id == 'Eagle Farm' || $course_id == 'Rosewell') {
$summer = array('Firm' => '18', 'Good to Firm' => '30', 'Good' => '40', 'Good to Soft' => '10', 'Soft' => '2');
foreach ($summer as $spr => $value) {
$weather = array_merge($weather, array_fill(0, $value, $spr));
}
}


I will have a look why it's not picking up the correct values. Will see if I have time this weekend

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/