Jump to content

ParkerShannon

Members
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral

About ParkerShannon

  • Rank
    Newbie
  1. I'm using the wrong editor. Downloaded DreamWeaver and I'm all set. I really appreciate you guys wading in.
  2. Thank you for your response, but that wasn't it.
  3. WTF is wrong with this php code? I run this and nothing (see below for image of MySQL SQL results). <!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>TITLE</title> <meta name="author" content="Parker Shannon"> </head> <body> <!--?php // 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"; ?> </body>
×
×
  • Create New...