diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-07-05 00:25:51 +0200 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-07-05 00:25:51 +0200 |
commit | ac54f5224d4470de9d8ae088e1338dea52668c9d (patch) | |
tree | 7f77b2a8176343e6632fbd99ff431c21974ef482 /final/app/popcommentaire.php | |
parent | 9738017972a6d4fea655926525b3c67dd85740cf (diff) | |
download | 2007-AWOR-ac54f5224d4470de9d8ae088e1338dea52668c9d.tar.gz 2007-AWOR-ac54f5224d4470de9d8ae088e1338dea52668c9d.tar.bz2 2007-AWOR-ac54f5224d4470de9d8ae088e1338dea52668c9d.zip |
Renommage beta_accents -> final pour diffs
Diffstat (limited to 'final/app/popcommentaire.php')
-rw-r--r-- | final/app/popcommentaire.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/final/app/popcommentaire.php b/final/app/popcommentaire.php new file mode 100644 index 0000000..bbb5922 --- /dev/null +++ b/final/app/popcommentaire.php @@ -0,0 +1,23 @@ +<?php require_once ('include/connect.inc.php'); ?> +<h2>Editer votre commentaire</h2> +<div class="popup_contenu"> +<form id="formcommentaire" method="get" action=""> +<textarea name="txtCommentaire" rows="4" cols="40"> +<?php + $requete = "SELECT commentaireReponse FROM AWOR_Repondre WHERE idP=".$_GET['idP']." AND idR=".$_GET['idR'].""; + $result = mysql_query($requete); + if($result && mysql_num_rows($result) > 0) + { + $com = mysql_fetch_array($result); + + echo htmlentities($com['commentaireReponse'], ENT_QUOTES); + } + +?> +</textarea> +<br/><br/> +<?php if (isset($_GET['idR'])) echo '<input type="hidden" name="idR" value="'.$_GET['idR'].'" />' ?> +<input type="hidden" name="action" value="commentaire" /> +<input type="submit" value="Enregistrer" /><input type="button" value="Fermer" onclick="popoff('popcommentaire')" /> +</form> +</div>
\ No newline at end of file |