Forum » » Bugs, Probs ... » » Nouvelle install sous usbwebserver PHP 8.1
Posté : 20 févr. 2025 à 18:55
Citation : jpbtu fait une verif sur chaque rank du style if (!is_null($rank1) or ....... alors affiche $m->add_select('chng_rank', adm_translate("Rôle de l'Utilisateur"), $tmp_tempo, false, '', false); sinon $m->add_field("chng_rank", '', '', 'hidden', false);[code php]if (!is_null($rank1) { $tmp_tempo[1]['en']=aff_langue($rank1); $tmp_tempo[1]['selected'] = $chng_rank==1 ? true : false ; }[/code]pour les 5 options
Cet article provient de NPDS
https://www.npds.org/viewtopic.php?topic=26963&forum=1