SHARE
TWEET

Untitled

a guest Dec 6th, 2019 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <html lang="pl">
  2. <head>
  3.     <meta charset="utf8">
  4.     <title>bruh</title>
  5.  
  6.     <meta http-equiv="X-Ua-Compatible" content="IE=edge">
  7.     <link rel="sylesheet" href="main.css">
  8.  
  9. </head>
  10. <body>
  11. <?php
  12.     require_once "dbconnect.php";
  13.     $conn = new mysqli($host, $user, $pass, $db);
  14.     $conn->set_charset("utf8");
  15.     $x = "SELECT id, nazwa FROM klasa";
  16.     $wynik = $conn->query($x);
  17.     $ile = $wynik->num_rows;
  18.     echo $ile;
  19. ?>
  20. </body>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top