Where are you having problems?
stymiee
He's No Good To Me Dead
3,360 posts since May 2006
Reputation Points: 161
Solved Threads: 38
Look at the lines where you have $x =, $y =, etc. Firstly, you are trying to set one variable equal to another, but you aren't putting dollar signs in front of all your variables. It should be $x = $hoursWorked and not $x = hoursWorked . Also, you're setting $zz equal to $overtimeHours but that variable isn't set.
I haven't had a chance to look over any of your logic yet. This is just syntax errors.
cscgal
The Queen of DaniWeb
19,433 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 230