Yes, same page. I need that variable so I can filter out table rows from DB tables (mysql). (You know, SELECT * FROM table WHERE $id_text ...) And I wanted to make it instant, so when somebody write down or picks a date, it will instantly filter those tables. For that I need that value (text) from input text box to be stored in php variable.