Need PHP/MySQL Guru ASAP
Update at 4:15 (after working on this for several hours now): I found out the problem, so I don't need help anymore. Long story short, there was a function that was failing, throwing a false return back and causing the rest of the code to not be executed completly. I basically had to go through the code line-by-line to figure that out, but it works. Original request is after the jump.
My employer is having an issue with their online timecard system that I set up for them back in the day. It works fine (it's pretty basic), but this morning totally died, having MySQL permission issues and/or PHP issues with just one site on the server. It's been working fine for days, but for some reason died this morning.
Read the gory details here and if you can help me, comment below or e-mail me using the form at the right (and there may be a bit of money in for somebody who fixes it).
It's probably something silly and simple, but I'll be damned if I can figure it out.
On a related note, does anybody have a good solution for a hosted timecard system? I need something that can be locked down by IP address (so folks can't login and change time from anywhere) and doesn't cost an arm and a leg (which is why were using a free open source timeclock script) and is simple and easy to use.