Advertisement
Guest User

Untitled

a guest
Jun 10th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. <?php
  2.  
  3. $dbusername = "root";
  4. $dbpassword = "root";
  5. $server = "localhost";
  6.  
  7. $dbconnect = mysqli_connect($server, $dbusername, $dbpassword);
  8. $dbselect = mysqli_select_db($dbconnect, "adam");
  9.  
  10. $CR_1= $_GET['CR_1'];
  11.  
  12. $sql = "INSERT INTO cr_1 (CR_1) VALUES ('$CR_1')";
  13.  
  14. mysqli_query($dbconnect, $sql);
  15.  
  16. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement