$counter = "0";
while($row=mysql_fetch_array($sql_result)){
$slno[$counter] = $row["SlNo"];
$image_no[$counter] = $row["Image No"];
$title[$counter] = $row["Title"];
$category[$counter] = $row["Category"];
$sub_category[$counter] = $row["Sub-Category"];
$description[$counter] = $row["Description"];
$size[$counter] = $row["Size"];
$price[$counter] = $row["Price"];
$counter++;
}
i got all the data into an array...
ur script works fine but the problem is it displaying all 2000+ records in 1 page itself and only 1 field.
what i m looking for is split those 2000+ records into 8 records per array...
eg.
$tabledata[1] => slno,image_no,title,size,prize (contain all field details for 1-8 records including html table tags)
$tabledata[2] => slno,image_no,title,size,prize (contain all field details for 9-16 records including html table tags)
$tabledata[3] => slno,image_no,title,size,prize (contain all field details for 17-24 records including html table tags)
$tabledata[4] => slno,image_no,title,size,prize (contain all field details for 25-32 records including html table tags)
$tabledata[5] => slno,image_no,title,size,prize (contain all field details for 33-40 records including html table tags)
etc etc etc...
if i m able to store these fields in 1 array then it will be easy for me to proceed further...