title: How to use php array variables on html to output a ul list?
body: <p>
  
  <pre><code>        //Setting up variables
          $server = "**********";
          $username = "**********";
          $password = "******";
          $database = "*******";
  
          //Connecting to Server
          mysql_connect($server, $username, $password)or die (mysql_error());
          //echo "Connected to MySQL";
  
          //Connecting to database
          mysql_select_db($database) or die (mysql_error());
          //echo "Connected to my Database";
  
          //variable selecting the reach_codes table
          $result = mysql_query("SELECT * FROM reach_Codes");
  
  
          //set variable to store column arrays
          $fault_Codes = array();
          //while loop fetching all rows
          while(false !== ($row = mysql_fetch_assoc($result)))
          {
              $fault_Codes[] = $row['fault_ID'];
          }
  
          echo $fault_Codes[1];
  
  
  
          mysql_close();
      ?&gt;
  </code></pre>
  
  <p>Hi Everyone so I am relatively new to web programming, but I program in c++, so I wanted to make this website to display some fault code information since I work on forklifts at work just to make my life easier. I now how arrays work, I just can't find information on how to use those array variables on a  on html any help or pointing in the right direction will be gladly appreciated.</p>