query('SELECT * FROM ms4_eulerproblem', PDO::FETCH_ASSOC); ?>
Project Euler with Befunge-93
\n"; echo "
\n"; for ($i = 1; $i <= $max; $i++) { $cssclass = ''; if (key_exists($i, $arr)) { $cssclass = $arr[$i]['timelevel']; } else { $cssclass = 'euler_pnl_cell_notexist'; } echo "
"; echo ""; echo "$i"; echo ""; echo "
\n"; if (($i)%20 == 0) { echo "
\n"; echo "
\n"; echo "
\n"; echo "
\n"; } else if (($i)%10 == 0) { echo "
\n"; echo "
\n"; } } echo "
\n"; echo "
\n"; ?>