i'm confuse by this for a long time
there are 2 questions
one is about sql string
another is the divide page
this is an exmple
1.php have a form of search condition which include 3 vars
<form action='2.php' method='post'>
<input type=text name=title>
<input type=text name=poster>
<input type=text name=reply_num>
the user must select 1 condition at least
and can leave others with blank
2.php
$title = $POST['title'];
$poster = $POST['poster'];
$reply_num = $_POST['reply_num];
then there will be a sql string
$sql = 'select * from table where............limit 0,10'
/////////how to write the sql string exactly////
$mysql_query($sql);
//display the result
//there will be only display 10 result in one page
and when i want to get the next 10 rows in the same page
the $_POST var will be unset
and the sql string will be incorrect
so how shall i do ???