Progress!

Made a good chunk of progress on the background php scripts for the now consolidated almanac/summary page. I ran into a time-suck snag in the middle of the day involving updating the split() function to preg_split() (split is deprecated in the current version of PHP). The regular expression syntax was not carrying directly over, so I had to do a lot of debugging and reading on how to do what I wanted, which took 2 hours but I learned a bunch and finally figured it out! It was actually a pretty simple fix, I’m a little bummed I didn’t find it sooner, but oh well. I also added the ability to pass in the user’s almanac/summary choice to a “switch” script which loads the appropriate data-retrieval script. To do this, I had to tack on some stuff to an array that gets used all throughout the scripts, so I am going to have to go through and adjust a bunch places where the index being called will be off because of my addition. It shouldnt take too long, I just have to bump each one by 2.

-Will

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *