All pastes #463988 Raw Edit

Mine

public php v1 · immutable
#463988 ·published 2007-04-29 07:47 UTC
rendered paste body
  foreach($Torrents as $torrent) {                        $torrent_id = $torrent['id'];                        for ($i = 1; $i <= 4; $i++) {                                if ($torrent_id = $TorrentStatus[0]['id']) {                                        $NewTorrentwithStatus = array(                                                array(                                                        'id' => $torrent_id,                                                        'name' => $torrent['name'],                                                        'size' => $torrent['size'],                                                        'downloaded' => $torrent['downloaded'],                                                        'uploaded' => $torrent['uploaded'],                                                        'blarg' => $TorrentStatus[$i]['blarg']                                                )                                                );                                }                        }                        echo $NewTorrentwithStatus['blarg'] ."\n";                }