SHARE
TWEET

Untitled

a guest Apr 21st, 2018 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html>
  3. <body>
  4.   <p>hi</p>
  5. <?php
  6.   $server = "server address";
  7.   $username = "username";
  8.   $password = "password";
  9.  
  10.   $connection = mysqli_connect($server, $username, $password);
  11.   mysqli_select_db('database', $connection);
  12.   $sql = "SELECT text FROM table WHERE ID = 1";
  13.   mysqli_query($sql) or die (mysqli_error());
  14.   $connection->close();
  15. ?>
  16. </body>
  17. </html>
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