Php Create Array From Sql Statement Where Begins