Page 1 of 1

Brows through with php

Posted: Mon Jul 09, 2007 4:23 am
by andrei.mita
Hello again,

Here I am with another problem. I have a rather large db with 6000 rows and 44 columns. In one of the pages you have the option to filter the db by a number of fields and a list of records is returned. You select one and the whole info for that specific record is shown. You can alter it and when you click Modify I want the page to go back and list again the results from the previous query.

I thought to do this by saving the $_POST var to a $_SESSION var so each time you access the page the query is done. I don't think this is the proper way to do it. Do you have any suggestions? Thanks.

Posted: Mon Jul 09, 2007 6:28 am
by superdezign
If you had it performed through the GET method, you could simply save the former URL, and redirect them later.

Posted: Mon Jul 09, 2007 6:53 am
by andrei.mita
yes but there is the security issue.

Posted: Mon Jul 09, 2007 6:57 am
by volka
which one?