fix syntax error in php