Hi I'm a newbie in php...
is there anybody could help me to create pagination php script...
here is my display code.
$query = mysql_query("SELECT * FROM cust_qa_table WHERE status = '{$qastat}' ORDER BY ques_date");
$f=0;
while($row=mysql_fetch_array($query))
{
$query2 = mysql_query("SELECT * FROM cust_table WHERE username = '{$row[username]}'");
echo $row['name'];
$f=1;
}
if($f==0)
{
echo "<font color='red'><br><br>No members currently ask question.</font><br><br>";
}