Advertisement
Guest User

Untitled

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