Hi Sen,
the code is really fine, but there is something that I can't understand very well. Exactly the variable $curname. How it works? Can you explain me please?
".....
$curname=' '; $tdata = ' '; while (list($d, $sn, $s) = $res->fetch_row()) {
if ($curname != $sn) { if ($curname) { $tdata .= "<tr><td>$curname</td><td>" . join('</td><td>', $rowdata). "</td></tr>\n"; } $rowdata = $emptyRow; $curname = $sn; }
...."
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.