i got many scripts to do this..but it seems i couldnt fit them nicely to my coding..because i have soo many loops.. :queasy: been scratching my head for a while~~...help me with these guyzz... :o
here part of my codes so that u can imagine how it should works..
<!--------------------from google, yahoo, altavista----------------------->
<?php
for ($i=10; $i<count($all_res)+10; $i++){
OpenTb1($all_res[$i][1],$all_res[$i][2],$all_res[$i][3],$all_res[$i][4]);
}
?>
<!---------------------google and yahoo---------------------------------->
<?php
for ($i=20; $i<count($gy_res)+20; $i++){
OpenTb2($gy_res[$i][1],$gy_res[$i][2],$gy_res[$i][3]);
}
?>
<!-----------------------------google and altavista---------------------->
<?php
for ($i=30; $i<count($ga_res)+30; $i++){
OpenTb2($ga_res[$i][1],$ga_res[$i][2],$ga_res[$i][3]);
}
?>
these are the functions i called from above..
<?php
function OpenTb1($URL,$frm1,$frm2,$frm3){
?>
<table width="730" style="border-bottom-style:dotted ">
<tr>
<td height="100" width="650" align="left"><?php echo $URL;?> </td>
<td height="100" width="80" align="center">
<?php echo $frm1."<br>".$frm2."<br>".$frm3;?>
</td>
</tr>
</table>
<?php
}
?>
<?php
function OpenTb2($URL,$frm1,$frm2){
?>
<table width="730" style="border-bottom-style:dotted ">
<tr>
<td height="100" width="650" align="left"><?php echo $URL;?> </td>
<td height="100" width="80" align="center">
<?php echo $frm1."<br>".$frm2;?>
</td>
</tr>
</table>
<?php
}
?>
i really need to do it this way because i have different kind of elements to display for each of the groups of results... so i have to make different table for each of them...
all these i have like 30++ combine all..and i categorize them ... then i have problems in making limit to each of page...i'm sooo tired of trying~.. help me will ya :queasy: