On Wed, 2002-05-01 at 17:47, Greg D. wrote:
> Hi,
>
> Is there any way i can split an array that contains information that i got
> from the mysql database?
>
> here's the code:
>
> while(my @data = $sth->fetchrow_array){
> print "@data\n";
>
> right now its prints out for example:
>
> 1 greg [EMAIL PROTECTED] 1234 2 john [EMAIL PROTECTED] 4r434 and so on....
>
> i want it so it prints out..
>
> 1 greg [EMAIL PROTECTED] 1234
> 2 john [EMAIL PROTECTED] 4r434
>
> i know this is a simple question but
> thanks for any help given.
>
> greg
The code you have listed should work. Is that the actual code (and
output) or did you dummy it up?
--
Today is Sweetmorn the 48th day of Discord in the YOLD 3168
Missile Address: 33:48:3.521N 84:23:34.786W
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]