You have slanted quotes a few places that could be causing issues:
$_GET[’ID’]
should be:
$_GET['ID']
I don't know if the slanted quotes will post on the forum, but you can see them in your source code on lines 224 and 273.
If that doesn't work, could you give me FTP access and a URL to view the page? I could debug it quickly that way.