| [ Index ] |
PHP Cross Reference of IEUF |
[Summary view] [Print] [Text view]
1 <?php 2 //Vérification accès 3 require 'inc/autorisation.inc.php'; 4 if (NonCA()) include 'inc/404.php'; 5 include "../inclus/connect_bdi.inc.php"; 6 $message="La suppression a bien été effectuée"; 7 if (!isset($_GET['id'])) $message="Erreur d'appel"; 8 else { 9 $id=$_GET['id']; 10 $requete="DELETE FROM representation WHERE id='$id'"; 11 $recherche=$mysqli->query($requete); 12 if ($recherche === false) die($mysqli->error); 13 if ($mysqli->affected_rows ==0) $message="Cette représentation est inconnue"; 14 } 15 ?> 16 17 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> 18 <html> 19 <head> 20 <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> 21 <title> Suppression des représentations </title> 22 <script type="text/javascript"> 23 alert("<?php echo $message; ?>"); 24 window.opener.parametres.submit(); 25 self.close(); 26 </script> 27 </head> 28 </html>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Fri Jan 31 19:59:00 2014 | Cross-referenced by PHPXref 0.7.1 |