corrected the syntax error in the php