Php Array Check If Index Exists Sql Syntax W3schools