Dakujem pekne, global $pole;funguje bezchybne, len som tam mal neskutocne hlupy preklep, kvoli ktoremu to neslo.