Re: Help needed

From: Date: Fri, 17 Nov 2000 18:15:18 +0000
Subject: Re: Help needed
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-25936@lists.php.net to get a copy of this message
Are you defining $sk somewhere else in your code? If not, then you are probably just pushing an empty value onto $datsk. - Jamie > can I use array_push ($datsk, $arr[$i], $sk); in this case... > > At the moment I receive array without $sk - how I can push this wariable > into array? > > Its xml (wap).... > > $i=0; > $datsk = array ("prece","skaits"); > while ($i < $daudz){ > $j=0; > while ($j < 50){ > if ($arr[$i] == $kods[$j][0]){ > echo("<p>Prece: {$kods[$j][1]}</p>\n"); > echo("<p><input type=\"text\" name=\"sk\" > format=\"NN\"/></p>\n"); > array_push ($datsk, $arr[$i], $sk); > } > $j++; > } > $i++; > } >

« previous php.general (#25936) next »