Brows through with php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
andrei.mita
Forum Commoner
Posts: 65
Joined: Sun May 08, 2005 4:06 am
Location: Barlad/Romania

Brows through with php

Post 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.
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

If you had it performed through the GET method, you could simply save the former URL, and redirect them later.
andrei.mita
Forum Commoner
Posts: 65
Joined: Sun May 08, 2005 4:06 am
Location: Barlad/Romania

Post by andrei.mita »

yes but there is the security issue.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

which one?
Post Reply