Jump to content


  • Content Count

  • Joined

  • Last visited

Posts posted by ParkerShannon

  1. How do I get the value of a variable to display in an HTML table:


    Thank you . . .

  2. WTF is wrong with this php code? I run this and nothing (see below for image of MySQL SQL results).

    <!DOCTYPE html>
        <meta http-equiv="content-type" content="text/html; charset=UTF-8">
        <meta name="author" content="Parker Shannon">
      </head>  <body>
    // Declare Connection Variables          
            $servername = "mysql408.discountasp.net";    
            $username = "0140496peoplesp";
            $password = "uhuhuhuhuhu";    
            $dbname = "MYSQL5_1014730_peoplespoll";
    // Create connection
      $conn = mysqli_connect($servername, $username, $password, $dbname);
        echo "Connected";
    // Select items from table
        $row = "SELECT id, issue FROM question WHERE id=1;
        $result = mysqli_query($conn, $row)
       echo "id: " .  $result["id"] .  "Issue: " .  $result["issue"] . ;
    // Close database mysqli_close($conn);    
        echo "Disconnected";


  • Create New...