RE: [PHP-DB] Lost data

From: Date: Tue, 16 May 2000 20:05:48 +0000
Subject: RE: [PHP-DB] Lost data
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-33@lists.php.net to get a copy of this message
I use sessions to pass my data around.... > -----Original Message----- > From: Mick Lloyd [mailto:mjl@consultingrooms.com] > Sent: Tuesday, May 16, 2000 22:04 > To: Database Help PHP > Subject: [PHP-DB] Lost data > > > The following line is a part of some code calling a script that allows > navigation between records output by a query. > > echo "<a href = > profiles_query_public.phtml?navigate=Previous&region=$region>Previ > ous</a>"; > > The problem I have is that when $region is a single word (eg > 'Pakistan') it > works fine and I can move between selected records easily. If however if > $region is more than one word (eg 'Baltic States'), only the > first word (in > this case 'Baltic') is sent to the script. As a result, when the query is > re-run it finds no records. > > Ideally, I would like not to have to re-run the query each time I > move to a > new record but I haven't worked out a way to retain the query result and > move amongst the returned records. > > Suggestions welcome. > > Mick Lloyd > mjl@consultingrooms.com > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.db (#33) next »