missing question mark in a php tag causing errors