Changeset 30242 in spip-zone for _fondation_/forms_1_9_3_foireux_mais_parfois_utile/inc/forms_edit.php
- Timestamp:
- Jul 26, 2009, 3:18:21 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_fondation_/forms_1_9_3_foireux_mais_parfois_utile/inc/forms_edit.php
r27427 r30242 57 57 $res = spip_query("SELECT choix FROM spip_forms_champs_choix WHERE id_form="._q($id_form)." AND champ="._q($champ)); 58 58 while ($row = spip_fetch_array($res)){ 59 $lenumero = split('_', $row['choix']);59 $lenumero = preg_split('#_#', $row['choix']); 60 60 $lenumero = intval(end($lenumero)); 61 61 if ($lenumero>= $n) $n=$lenumero+1;
Note: See TracChangeset
for help on using the changeset viewer.