D
D
Denis2016-05-27 23:24:09
PHP
Denis, 2016-05-27 23:24:09

After fetching from the database, saving the result?

Good evening! There is a filter of objects from a DB on php/mysqli. The problem is that I'm stupid I don't know ajax)) so there was a problem that the filter is in the middle of the page. After sampling on php, the page is updated and throws meyan to the very beginning. When I anchor the header("Location: ") under the selection where the filter is located, the result is simply deleted and all values ​​are entered again. How to solve it? So that when you reload the page and redirect to the anchor where the filter does not lose the result of the selection?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Vodyanov, 2016-05-28
@IvanVodka

Put all filters at the top of the page and do it in php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question