php Html tables Help required here..
I have the following output of my table but i want to cut it into smaller pieces like having 5 columns every page. Here is my code: $out_ = ""; $out_ .= "<table style='width:100%'>"; $out_ .= "<tr>"; foreach ($tripIds as $keys=>$value): $out_ .= "<td style='width:123px;padding:0px 18px 0px 7px;border: 10px solid transparent; color:red;background-color: #DBDBDB;'>$value</td>"; endforeach; $out_ .= "</tr>"; $out_ .= "</table>"; print $out_; $out = ""; $out .= "<table>"; foreach ($trips as $keys=>$value): $out .= "<tr>"; $out .= "<td style='padding:0px 0px 0px 0px;'>$keys</td>"; foreach ($value as $index=>$valu2): $out .= "<td style='padding:0px 4px 0px 5px;'>$valu2</td>"; $holder2++; endforeach; $out .= "</tr>"; endforeach; $out .= "</table>"; print $out;
@dan815
@dumbsearch2 Help
@wio
srry im not good at math. idk
@AndrewTheCookie @Brostep0s
@confluxepic help him please
i dunno
@AndrewTheCookie help
Join our real-time social learning platform and learn together with your friends!