Public paste
Uhmm
By: Xmoo | Date: Dec 3 2008 18:36 | Format: PHP | Expires: never | Size: 1.09 KB | Hits: 1260

  1. <?php case 'uitschrijvenb':
  2.                                  
  3. $insert = "INSERT INTO recepten_uitschrijven (p_pid, p_name_first, p_name_2, p_name_3, p_name_middle, p_name_last, p_date_birth, p_addr_str, p_name_city, p_phone_1_nr, p_cellphone_1_nr, p_email, p_sex, a_artikelnummer, a_artikelnaam, a_fabriek, a_aantal, e_invoerder, e_datum, e_tijd, e_comment)  
  4.                       values ('".$_POST["pid"].", ".$_SESSION["name_first"].", ".$_SESSION["name_2"].", ".$_SESSION["name_3"].",  ".$_SESSION["name_middle"].", ".$_SESSION["name_last"].", ".$_SESSION["date_birth"].", ".$_SESSION["addr_str"].", ".$_SESSION["addr_str_nr"].", ".$_SESSION["name_city"].", ".$_SESSION["phone_1_nr"].", ".$_SESSION["cellphone_1_nr"].", ".$_SESSION["email"].", ".$_SESSION["sex"].", ".$_SESSION["artikelnum"].", ".$_SESSION["artikelname"].", ".$_SESSION["industrynum"].", ".$_POST["aantal"].", ".$_POST["e_invoerder"].", ".$_POST["e_datum"].", ".$_POST["e_tijd"].", ".$_POST["e_comment"]."')";
  5.  
  6. (mysql_query($insert)); { echo "<br><br><center><b><font face=verdana size=2 color=green>Succes!</font></b></center>"; }
  7.                 echo $insert;
  8.                                 break; ?>