Taiche (╯°□°)╯︵ ┻━┻ | _Maximus_ a écrit :
Merci, j'avais vu cette fonction mais : Efface et remplace une portion de tableau.
J'veux pas remplacer j'veux juste effacer...
|
Ui enfin faut pas s'arrêter à la description de la fonction, hein
Citation :
Exemples avec array_splice
<?php
$input = array ("rouge", "vert", "bleu", "jaune" );
array_splice ($input, 2);
// $input vaut array ("rouge", "vert" )
|
Message édité par Taiche le 13-10-2003 à 16:56:42 ---------------
Everyone thinks of changing the world, but no one thinks of changing himself | It is the peculiar quality of a fool to perceive the faults of others and to forget his own | Early clumsiness is not a verdict, it’s an essential ingredient.
|