hi nelson, i'm not sure if i get you right, but you could store the 'base' of your generated SQL query in a session variable, that way you don't have to drag the $kw array along.
// before any html output (sends http headers) session_start(); // build query from keywords --> results in string $s_base_query session_register("s_base_query"); then, for every new page you build your full query like this: $query = $s_base_query . " LIMIT $firstitem,$items"; hope this helps, phil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]