Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as Plain Text by 54 ( 12 years ago )
<html>
                <body>
                 
              
 

<?php

    $c

      // Check connection
      if (mysqli_connect_errno())
        {
        echo "Failed to connect to MySQL: " . mysqli_connect_error();
          }
         
        $result = mysqli_query($con,"SELECT `Notaseie`,`notasox`,`notasx`,`notasSI` FROM alumnos");
        
         
        while($row = mysqli_fetch_array($result))
          {
          echo $row['notasSI'] . " " . $row['nombre'];
          echo "<br>";
          }
         
        mysqli_close($con);
    endif;


?>      
 </body>
            </html>

 

Revise this Paste

Your Name: Code Language: