PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
If anyone could provide any suggestions, that would be great. I've tried rearranging the brackets myself, but always get 10. (Other than the obvious option of doing the equation in two separate sections).
Last edited by timWebUK on Wed Sep 01, 2010 4:49 am, edited 2 times in total.
I've realised the mistake is on my part, where my variables (shown in the script) are actually initialised through queries, I had misspelt one of them! ($beamWidth) should be $groundWidthBeam. My mind was blown for a short time, I thought I had broken mathematics.