je le code suivant:Création d'un simple tableau
$page=3;
$i=1;
while($i<=$pages) {
$urls .= "'"."http://twitter.com/favorites.xml?page=" . $i ."',";
$i++;
}
Ce que je dois créer est ce tableau:
$data = array('http://twitter.com/favorites.xml?page=1','http://twitter.com/favorites.xml?page=2','http://twitter.com/favorites.xml?page=3');
Comment puis-je produire un tableau de la boucle while
?
* (référence) * http://de2.php.net/manual/en/language.types.array. php – Gordon