List Info

Thread: RE: $cnt doesn't work for me as advertised




RE: $cnt doesn't work for me as advertised
country flaguser name
United States
2007-09-25 15:58:10
I'm expecting three rows of three columns, like so:

 A	B	C
 D	E	F
 G

All I am getting is one row of one column.

 A


--Todd


On Tue, 25 Sep 2007, Tom Briles wrote:

> Looks correct to me.  What are you expecting?
>
> - Tom
>
> > -----Original Message-----
> > From: Todd White [mailto:tmwhitemerit.edu]
> > Sent: Tuesday, September 25, 2007 3:50 PM
> > To: embperlperl.apache.org
> > Subject: $cnt doesn't work for me as advertised
> >
> >
> > The variable $cnt doesn't seem to work for me.  Am
I doing something
> > wrong?
> >
> > Here's my code:
> >
##########################################################
> > <html>
> > <head>
> > <title>$cnt test</title>
> > </head>
> > <body>
> >
> > [- $maxcol = 3; -]
> > [+ $maxcol +]<p>
> >
> > [- test_arr = ('A', 'B', 'C', 'D', 'E', 'F',
'G'); -]
> >
> > <table>
> > <tr>
> >   <td>[+ $test_arr[$cnt] +]</td>
> > </tr>
> > </table>
> >
> > </body>
> > </html>
> >
###########################################################
> >
> > You can run this here:
> >
> >   http://www
.merit.edu/~tmwhite/test/cnt.epl
> >
> >
------------------------------------------------------------
---------
> > To unsubscribe, e-mail: embperl-unsubscribeperl.apache.org
> > For additional commands, e-mail: embperl-helpperl.apache.org
> >
> >
>
>
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: embperl-unsubscribeperl.apache.org
> For additional commands, e-mail: embperl-helpperl.apache.org
>
>

------------------------------------------------------------
---------
To unsubscribe, e-mail: embperl-unsubscribeperl.apache.org
For additional commands, e-mail: embperl-helpperl.apache.org


RE: $cnt doesn't work for me as advertised
country flaguser name
United States
2007-09-26 07:06:01
Is anyone successfully using the $cnt and $maxcol
variables?



On Tue, 25 Sep 2007, Todd White wrote:

> I'm expecting three rows of three columns, like so:
>
>  A	B	C
>  D	E	F
>  G
>
> All I am getting is one row of one column.
>
>  A
>
>
> --Todd
>
>
> On Tue, 25 Sep 2007, Tom Briles wrote:
>
> > Looks correct to me.  What are you expecting?
> >
> > - Tom
> >
> > > -----Original Message-----
> > > From: Todd White [mailto:tmwhitemerit.edu]
> > > Sent: Tuesday, September 25, 2007 3:50 PM
> > > To: embperlperl.apache.org
> > > Subject: $cnt doesn't work for me as
advertised
> > >
> > >
> > > The variable $cnt doesn't seem to work for
me.  Am I doing something
> > > wrong?
> > >
> > > Here's my code:
> > >
##########################################################
> > > <html>
> > > <head>
> > > <title>$cnt test</title>
> > > </head>
> > > <body>
> > >
> > > [- $maxcol = 3; -]
> > > [+ $maxcol +]<p>
> > >
> > > [- test_arr = ('A', 'B', 'C', 'D', 'E', 'F',
'G'); -]
> > >
> > > <table>
> > > <tr>
> > >   <td>[+ $test_arr[$cnt] +]</td>
> > > </tr>
> > > </table>
> > >
> > > </body>
> > > </html>
> > >
###########################################################
> > >
> > > You can run this here:
> > >
> > >   http://www
.merit.edu/~tmwhite/test/cnt.epl
> > >
> > >
------------------------------------------------------------
---------
> > > To unsubscribe, e-mail:
embperl-unsubscribeperl.apache.org
> > > For additional commands, e-mail:
embperl-helpperl.apache.org
> > >
> > >
> >
> >
> >
> >
------------------------------------------------------------
---------
> > To unsubscribe, e-mail: embperl-unsubscribeperl.apache.org
> > For additional commands, e-mail: embperl-helpperl.apache.org
> >
> >
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: embperl-unsubscribeperl.apache.org
> For additional commands, e-mail: embperl-helpperl.apache.org
>
>

------------------------------------------------------------
---------
To unsubscribe, e-mail: embperl-unsubscribeperl.apache.org
For additional commands, e-mail: embperl-helpperl.apache.org


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )