Re: Lost data

From: Date: Tue, 16 May 2000 22:14:20 +0000
Subject: Re: Lost data
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-34@lists.php.net to get a copy of this message
This question might be too obvious, but it is worth a try: are you URL encoding the variables before passing them? i.e. space to +, etc, etc. On Tue, 16 May 2000, Mick Lloyd wrote: > 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>Previous</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 (#34) next »