Tides Processor Script

Matthew, I am working on the script you have posted a few days ago.

There are many variables that have not been ‘declared’ (such as, for example, setting the default value of the variable $moon to null). So, when an ‘if’ statement only check if the variable within (the ‘if’ statement) is ‘yes’ and does not provide an option in case the variable within (the ‘if’ statement) is ‘no’, then errors are produced and they prevent the script from continuing and producing the expected results…