je ne comprends pas : j'ai un fichier qui attribue un tableau à une variable :
<?
[...]
while( $row = mysql_fetch_assoc( $rslt ) )
{
$line[$i]=$row['number'];
$i++;
}
?>
Et après sur une autre page : FONCTIONNE PAS :
<? include('http://www.monsite.com/fichierdudessus.php');?>
<? echo $line[1];?>
FONCTIONNE :
<?
[...]
while( $row = mysql_fetch_assoc( $rslt ) )
{
$line[$i]=$row['number'];
$i++;
}
?>
<? echo $line[1];?>
La variable est elle perdue dans l'include ??!!Si quelqu'un peut m'aider ..
Merci beaucoup.