Created By rjames93 at 2012/01/11 18:30

https://beta.sucs.org/pb/592 (plain)
  1.   <?php
  2.   $Title = $_POST['Title'];
  3.   $Date = $_POST['Date'];
  4.   $BCon = $_POST['Content'];
  5.  
  6.   mysql_connect ("localhost", "rjames93","I know the password") or die ('Error: '$
  7.   mysql_select_db ("rjames93");
  8.  
  9.   $query="INSERT INTO TABLE1 (ID, Title, Date, Content)VALUES ('NULL','".$Titl$
  10.  
  11.   mysql_query($query) or  die ('Error updating database');
  12.   echo "Database Updated: ".$Title." ".$Date." ".$BCon."" ;
  13.  
  14.   ?>

You must be logged in to paste new items to the PasteBin