Re: Array to $_GET variable

From: Date: Sat, 13 Nov 2004 06:27:21 +0000
Subject: Re: Array to $_GET variable
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-201894@lists.php.net to get a copy of this message
* Thus wrote Mike Smith: > I am trying to cache a database recordset so users can sort, etc > without hitting the database everytime. I'm using ADODB to access a > MSSQL database. I wouldn't even bother with this. No matter what you do your going to have to retreive the data somewhere, aka sessions, and thus move the load over to the filesystem. A hit to the database isn't much of a concern. > > echo "<a > href=\"{$_SERVER['PHP_SELF']}?getvar=$v\">Link</a>\n"; If the data doesn't change very frequently, you might want to create a script that does this when the data is actually changes, and simply include() it when needed. Curt -- Quoth the Raven, "Nevermore."

« previous php.general (#201894) next »