Changeset 30253 in spip-zone for _plugins_/forms/forms_et_tables_2_0_0/interface/inc/forms_edit.php
- Timestamp:
- Jul 27, 2009, 3:26:42 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/forms/forms_et_tables_2_0_0/interface/inc/forms_edit.php
r25494 r30253 32 32 $champ = $type.'_'.strval($n); 33 33 while ($row = spip_fetch_array($res)){ 34 $lenumero = split('_', $row['champ'] );34 $lenumero = explode('_', $row['champ'] ); 35 35 $lenumero = intval(end($lenumero)); 36 36 if ($lenumero>= $n) $n=$lenumero+1; … … 58 58 $res = spip_query("SELECT choix FROM spip_forms_champs_choix WHERE id_form="._q($id_form)." AND champ="._q($champ)); 59 59 while ($row = spip_fetch_array($res)){ 60 $lenumero = split('_', $row['choix']);60 $lenumero = explode('_', $row['choix']); 61 61 $lenumero = intval(end($lenumero)); 62 62 if ($lenumero>= $n) $n=$lenumero+1;
Note: See TracChangeset
for help on using the changeset viewer.