Black Eagle Team Minishell
Path:
/
home
/
ccpsafy
/
www.old
/
private
/
news
/
[
Home
]
File: news_modif_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='$_POST[date]', heure='$_POST[heure]' "; $rep = mysql_query($req,$con) or die(__LINE__.$req.$mysql.error()); $req = "update news set titre='$_POST[titre]', texte='$_POST[texte]', lien='$_POST[lien]' where id = $_POST[LeID]"; $rep = mysql_query($req, $con) or die(__line__.$req.mysql_error()); header("Location: news.php"); ?>
©
2020 Black Eagle Team