Ignore:
Timestamp:
Jul 27, 2009, 3:26:42 AM (12 years ago)
Author:
gilles.vincent@…
Message:

[30252] suite : split est deprecie en 5.3.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/forms/forms_et_tables_2_0_0/interface/inc/forms_edit.php

    r25494 r30253  
    3232        $champ = $type.'_'.strval($n);
    3333        while ($row = spip_fetch_array($res)){
    34                 $lenumero = split('_', $row['champ'] );
     34                $lenumero = explode('_', $row['champ'] );
    3535                $lenumero = intval(end($lenumero));
    3636                if ($lenumero>= $n) $n=$lenumero+1;
     
    5858        $res = spip_query("SELECT choix FROM spip_forms_champs_choix WHERE id_form="._q($id_form)." AND champ="._q($champ));
    5959        while ($row = spip_fetch_array($res)){
    60                 $lenumero = split('_', $row['choix']);
     60                $lenumero = explode('_', $row['choix']);
    6161                $lenumero = intval(end($lenumero));
    6262                if ($lenumero>= $n) $n=$lenumero+1;
Note: See TracChangeset for help on using the changeset viewer.