{php login homework}

Posted in CategoryGeneral Discussion
  • Terry Ogbemudia 1 year ago

    Great. Keep going

  • Alaa 1 year ago

    feedback

    <!--

    <?php

     

    include_once('database.php');

     

    $sqlQuery = "SELECT * FROM feedback";

     

    $statement = $db->prepare($sqlQuery);

     

    $statement->execute();

     

    $info= "<table style='border:1px solid gray;'>";

     

    while($row=$statement->fetch()){

        $info.= "<tr><td style='border:1px solid gray;'>".$row['sender_name']."</td><td style='border:1px solid gray;'>".$row['sender_email']."</td><td style='border:1px solid gray;'>".$row['message']."</td><td style='border:1px solid gray;'>".$row['send_date']."</td></tr>";

    }

     

    $info.= "</tabl>";

    ?>

     

    <!DOCTYPE html>

     

    <html>

        

        <head>

            

            <meta charset="utf-8">

            

            <title>Feedback Page</title>

        

        

        </head>

        

        <body>

            

            

     

            <h2>Athintication System</h2><hr>

            

            <h3>Feedbak table</h3>

            

            <?php if(isset($info)) echo $info;?>

            <p><a href="../index.php">HomePage</a></p>

            

        </body>

     

    </html>

    -->

Please login or register to leave a response.