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