I like Rons method best, except you could use this
instead ov array slot values, which I am not sure will
work...
while ( my @data= $cursor->fetchrow_hashref ) {
$idnum = $data->{'idnum'};
$username = $data-.{'username'};
$email = $data->{'email'};
$code = $data->{'c
On Wednesday, May 1, 2002, at 02:47 , Greg D. wrote:
> 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 PR
Oops. As you stated, @row is suppose to be @data. I did assume that the
display was in HTML. I guess it's an occupational hazard doing web
development.
Ron
"Chas Owens" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On Wed, 2002-05-01 at 18:43, Ron wrote:
> H
On Wednesday, May 1, 2002, at 03:43 PM, Ron wrote:
> Hello Greg
>
> This is a simple method that may work.
>
> while ( my @data= $cursor->fetchrow_array ) {
> $idnum = $row[0];
> $username = $row[1];
> $email = $row[2];
> $code= $row[3];
>
> print "$idnum $username $email $code ";
> }
On Wed, 2002-05-01 at 18:43, Ron wrote:
> Hello Greg
>
> This is a simple method that may work.
>
> while ( my @data= $cursor->fetchrow_array ) {
> $idnum = $row[0];
> $username = $row[1];
> $email = $row[2];
> $code= $row[3];
>
> print "$idnum $username $email $code ";
> }
>
> "Greg
Hello Greg
This is a simple method that may work.
while ( my @data= $cursor->fetchrow_array ) {
$idnum = $row[0];
$username = $row[1];
$email = $row[2];
$code= $row[3];
print "$idnum $username $email $code ";
}
"Greg D ." <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[E
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:
>
On Wednesday, May 1, 2002, at 03:04 , bob ackerman wrote:
> On Wednesday, May 1, 2002, at 02:55 PM, drieux wrote:
>> On Wednesday, May 1, 2002, at 02:47 , Greg D. wrote:
>>> here's the code:
>>>
>>> while(my @data = $sth->fetchrow_array){
>>> print "@data\n";
>>
>> what does
>>
>>
On Wednesday, May 1, 2002, at 02:55 PM, drieux wrote:
>
> On Wednesday, May 1, 2002, at 02: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_a
On Wednesday, May 1, 2002, at 02: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";
what does
print "$_\n" forea
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 s
11 matches
Mail list logo