Public paste
Tommy
By: Xmoo | Date: Jun 10 2011 17:22 | Format: PHP | Expires: never | Size: 420 B | Hits: 545

  1. $aaa = "SELECT introtext FROM ira_content WHERE id = '3'";
  2. $ccc = mysql_query($aaa) or die ("Error: " .mysql_error());
  3.         while ($ddd = mysql_fetch_object($ccc)){
  4. $introtext = $ddd->introtext;
  5.  
  6. $insert = "UPDATE `ira_content` SET `introtext` = '".$introtext."<p><strong>".$_POST["titel"]."<br /></strong>, ".$_POST["omschrijving"]."</p>' WHERE `id` = 3";
  7. $query = mysql_query($insert)or die(mysql_error());
  8. }