Black Eagle Team Minishell
Path:
/
home
/
c
/
c
/
p
/
ccpsafy
/
www.old
/
private
/
programme
/
[
Home
]
File: programme_ajout_x.php.old
<?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