I attempted converting one of my javascript codes to PHP.
I thought I had it correct but when I ran the script it failed.
Any help is greatly appreciated.

Note:
My code appears to be too long to post on this site.
You may find it listed here.
http://forums.phpfreaks.com/topic/27...i-doing-wrong/