Chris' suggestion sounds allright.

Depending on how you do the search depends on what you will want to do (to a
certain degree)

you might be able to store the search criteria in the url

search.php?start=10&search=php%20general&subsearch1=search&subsearch2=logic

$results = "query results from {$_GET['search']}";

//then you could loop thru it
$i=1;
$subsearch == true;
while($subsearch == true){
    if(isset($_GET['subsearch' . $i])){
        $results = "subquery results";
    }else{
        $subsearch = false;
    }
    $i++;
}


just a concept, but it can work :)

-- 
Luke


"Hardik Doshi" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi Group,
>
> I need to implement the search engine for retrieving
> the image observations data from the MySQL database.
> The critical part in the search is the ability to add
> search criteria (Multipage search) from page to page.
> Anywhere during the process, user can click on the
> search button to search the results. Now my question
> is which data-structure is best to store all the
> search criteria so later on i can retrieve results
> from the DB using the selected search criteria.
>
> Is it advisable to store all the search criteria in
> the Object and then i can pass an object to other
> forms by either URL or hidden variables? any other
> suggessions?
>
> Please let me know. If you have any doubt in
> understanding the entire process please let me know so
> i can try to explain more.
>
> Thanks
>
> Hardik
>
> __________________________________
> Do you Yahoo!?
> Free Pop-Up Blocker - Get it now
> http://companion.yahoo.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to