Hi i'm looking to modify my current PHP search box so it can give result from 3 different indexes using 3 categories, right now it's 1 search box using 1 index.
I want 1 search box looking into 3 indexes which have there own search.php under there own folders not 1 for each but 1 for the 3 of them.
ex: http://my.website.com/albums/all/alb --> these will be under Album categorie with .php extension
http://my.website.com/albums/all/mp3 --> these will be under MP3' categorie with .mp3 ext.
http://my.website.com/albums/all/txt --> these will be under TXT categorie with .txt ext.
all of the search.php will be at the root of each folders (http://my.website.com/albums/all/alb/search.php) etc...
But i only have a very basic knowledge of PHP & HTML and like to change my current search to look in 3 different indexes:
Here is my current PHP form:
<form method="get" action="search.php" class="zoom_searchform">
<input type="text" name="zoom_query" size="20" value="" class="zoom_searchbox" />
<input type="submit" value="" style="border-style: none; background: url('images/find23.png') no-repeat; width: 23px; height: 23px;">
<span class="zoom_results_per_page">
<select name="zoom_per_page">
<option>10</option>
<option selected="selected">20</option>
<option>40</option>
<option>60</option>
<option>80</option>
<option>100</option>
</select>
</span>
<span class="zoom_categories">
<select name="zoom_cat[]">
<option value="-1">All</option>
<option value="0">Album</option>
<option value="1">MP3's</option>
<option value="2">TXT</option>
</select>
</span>
<br />
<span class="zoom_match">Match:
<input type="radio" name="zoom_and" value="0" checked="checked" />any words
<input type="radio" name="zoom_and" value="1" />all words
<input type="hidden" name="zoom_sort" value="0" />
<br />
</span>
</form>
I may have a hard time to explain what i want here but i'm trying my best.
Reason is i have a lot of php pages (over 3000) and about the same for TXT files and something like 65000 mp3's.
I have the latest version of Zoom and it's the Professional version.
Hope i'm clear enough!
Thanks
I want 1 search box looking into 3 indexes which have there own search.php under there own folders not 1 for each but 1 for the 3 of them.
ex: http://my.website.com/albums/all/alb --> these will be under Album categorie with .php extension
http://my.website.com/albums/all/mp3 --> these will be under MP3' categorie with .mp3 ext.
http://my.website.com/albums/all/txt --> these will be under TXT categorie with .txt ext.
all of the search.php will be at the root of each folders (http://my.website.com/albums/all/alb/search.php) etc...
But i only have a very basic knowledge of PHP & HTML and like to change my current search to look in 3 different indexes:
Here is my current PHP form:
<form method="get" action="search.php" class="zoom_searchform">
<input type="text" name="zoom_query" size="20" value="" class="zoom_searchbox" />
<input type="submit" value="" style="border-style: none; background: url('images/find23.png') no-repeat; width: 23px; height: 23px;">
<span class="zoom_results_per_page">
<select name="zoom_per_page">
<option>10</option>
<option selected="selected">20</option>
<option>40</option>
<option>60</option>
<option>80</option>
<option>100</option>
</select>
</span>
<span class="zoom_categories">
<select name="zoom_cat[]">
<option value="-1">All</option>
<option value="0">Album</option>
<option value="1">MP3's</option>
<option value="2">TXT</option>
</select>
</span>
<br />
<span class="zoom_match">Match:
<input type="radio" name="zoom_and" value="0" checked="checked" />any words
<input type="radio" name="zoom_and" value="1" />all words
<input type="hidden" name="zoom_sort" value="0" />
<br />
</span>
</form>
I may have a hard time to explain what i want here but i'm trying my best.
Reason is i have a lot of php pages (over 3000) and about the same for TXT files and something like 65000 mp3's.
I have the latest version of Zoom and it's the Professional version.
Hope i'm clear enough!
Thanks
Comment