PDA

View Full Version : A select list for path


Pierre Lacoste
02-16-2004, 05:36 AM
Hello,
I just want to know how to give the possibility for the user to search on a specific path with a select list.


I try to replace :
<input type='hidden' name='path' value='$path'/>

by
<select name='path'>
<option value='$path'>All path</option>
<option value='actualite/%'>Specific path 1</option>
<option value='news/%'>Specific path 2</option>
</select/>

in function_phpdig_form.php.

Is it a good solution?

Charter
02-16-2004, 12:54 PM
Hi. You may want to account for the site and refine variables as shown in this (http://www.phpdig.net/showthread.php?threadid=363) thread. Also, this (http://www.phpdig.net/showthread.php?threadid=228) thread may be helpful.

Pierre Lacoste
02-17-2004, 02:20 AM
Thanx a lot