Advertisement
Guest User

Untitled

a guest
Aug 18th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. <?php
  2.  
  3. $News = $_POST['News'];
  4.  
  5. mysql_connect ("localhost", "kiwieve1_1233", "123qwe") or die ('Error: ' . mysql_error());
  6.  
  7. mysql_select_db ("kiwieve1_123");
  8.  
  9. $query="INSERT INTO Table1 (ID, News)VALUES ('NULL','".$News."')";
  10.  
  11. echo "Database Updated With:" .$News. ";
  12. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement