I define array for php in html and i use javascript for validation. There is problem php cannot know that's variable. Why.