23 août 2007, 17:04
if(isset($_POST['machin']))
$machin = isset($_POST['machin']) ? $_POST['machin'] : '';
23 août 2007, 17:16
23 août 2007, 19:36
23 août 2007, 19:43
24 août 2007, 19:56
J'utilise cette formule : value="<?php echo (!empty($_POST['url'])) ? $_POST['url'] : '';?> qui donne le même résultat.
value="<?php echo (!empty($_POST['url'])) ? htmlentities($_POST['url']) : '';?>
Utilisateurs parcourant ce forum : Bing [Bot], Majestic-12 [Bot] et 11 invités