[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Search forms... I don't get it.



-----BEGIN PGP SIGNED MESSAGE-----


On Fri, 21 May 1999, Jason Pincin wrote:

> > Can't figure out for the life of me why.  They're basically the same as
> > the orginals.  All I did was basically s/simple\.php3/advanced\.php3/g
> > Check out /search/advanced.php3 and let me know what you think is wrong.
> 
> I'll check it out Aaron.

Thanks.
 
> > 2)  I'm trying to create the following in simple.php3 and advanced.php3:
> > 	<input type="hidden" name="category" value="<xxxx>">
> > where <xxxx> is equal to the value of c= in the GET.
> 
> Why?
> 
> > I tried doing a:
> > <input type="hidden" name="category" value="<?$catarray ?>">
> > But it didn't have the expected results.  I assume someone knows better
> 
> I can fix that, but why are you looking to do it?  You can just grab that info from
> the url string whenever needed...

I was going to do that, then realized that it required more coding which
would also slow things down.  Considering simple.php3 and advanced.php3
are getting c= via a GET it should be very simple to put it back into the
GET.  It would also require less CPU to do (scanning and splitting the
referer).  Also, if someone bookmarks a drill down search results page and
goes back to the bookmark, the referer will be different, hence different
results.  

- -Aaron


-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBN0YjlDM3jpXy1kJtAQH0eAP8C9G134LyxyGPUMePolhSKIy69ZepOHiA
nmzxUW9rX3EkBasOnP/NIlBySqwsp78DdzChyhzxT5g16PypobyLFWJ6iRKtOtKL
hVgn0O2wyb7Ngr9LAm9RuN6SIXdO++t+XM7XRxayV9XIjTmd8irZdqKGJ5lZ1d0P
E3S7e9W0nMA=
=+Hb0
-----END PGP SIGNATURE-----