Black Eagle Team Minishell
Path:
/
home
/
ccpsafy
/
www
/
private
/
programme
/
[
Home
]
File: programme_ajout_x.php
<?php include("../../inc/enligne_param.inc.php"); include("../../inc/gere_session.inc.php"); // AJOUT DE LA DATE DE MODIF DANS LA BASE $req = "update date set date_prog='$_POST[date_prog]', heure_prog='$_POST[heure_prog]' "; $rep = mysql_query($req,$con) or die(__LINE__.$req.$mysql.error()); $req = "INSERT INTO programme ( id_p, jour_p, date_p, mois_p, an_p, sujet_p, lien_p, regledujeu_p ) VALUES (\"\", \"$_POST[jour]\", \"$_POST[date]\", \"$_POST[mois]\", \"$_POST[an]\", \"$_POST[sujet]\", \"$_POST[lien]\", \"$_POST[regledujeu]\" )"; $REP = mysql_query($req,$con) or die(__LINE__.$req.$mysql.error()); header("Location: programme.php"); ?>
©
2020 Black Eagle Team