Jump to content

leehanken

Members
  • Posts

    34
  • Joined

  • Last visited

    Never

Everything posted by leehanken

  1. Glad to be of help.
  2. I don't know if it has to be 'Content-Length' rather than 'Content-length'?
  3. Load into an array then use a nested loop. while($row = mysql_fetch_array($Result)) { $sections[$row[section]][] = $row[subsection]; } foreach ($sections as $section => $subsections) { echo "<ul><li>$section</li><ul>"; foreach ($subsections as $subsection) { echo "<li>$subsection</li>"; } echo "</ul></ul>"; }
×
×
  • Create New...

Important Information

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.