Public feed #888102

Miscellany

public text v1 · immutable
Raw Edit
·published 2008-02-01 21:19 UTC
rendered paste body
   if ($problems[0]) {
    $errortable = " 
      <table align='center' style='font-family: Arial; color: white; background: #ac1e1a; border: 3px solid #0d0324;' border='0' cellpadding='5' cellspacing='10'>
        <tr>
        <td>There was an Error with the following field, please correct it:</td>
        </tr>
        <tr>";
        for ($i; $i<=count($problems); $i++) {
        $errortable .= "<td style='font-size: 10pt;'>&nbsp;&nbsp;&nbsp;&nbsp;".$problems[$i]."</td>";
        }
    $errortable .= "
        </tr>
      </table>
      "; 
        echo $errortable;
    }