Php Array Check If Index Exists Sql Example Problems Of Completing