RE: [PHP] splitting up an array into lines ...

2002-01-15 Thread Martin Towell
y 16, 2002 12:04 AM To: [EMAIL PROTECTED] Subject: [PHP] splitting up an array into lines ... I want this code to work thru a large cluster and put the rpm information into a db , it all works apart from the foreach loop. why doesnt my code work ( in particular the foreach loop ) , // get host

Re: [PHP] splitting up an array into lines ...

2002-01-15 Thread Jason Wong
On Tuesday 15 January 2002 21:04, Neil Mooney wrote: > I want this code to work thru a large cluster and put the rpm information > into a db , > it all works apart from the foreach loop. > > why doesnt my code work ( in particular the foreach loop ) , > > // get hostname > $host = `hostname`; > >

[PHP] splitting up an array into lines ...

2002-01-15 Thread Neil Mooney
I want this code to work thru a large cluster and put the rpm information into a db , it all works apart from the foreach loop. why doesnt my code work ( in particular the foreach loop ) , // get hostname $host = `hostname`; // get a list of rpms $rpm_list = `rpm -qa`; // open a db connection