baseportal
Start

baseportal message board

Welcome to the baseportal message board...

Please read the FAQ.

 
 Selected message: To the list 
    Message from Claus on 4/28 2012, 09:57 +01:00

    Re: Counting



      <perl>
      get "Id==* range=0,1", "yourdatabasename";
      out"amount: $_amount_all<br>";
      </perl>

      hth

      Greetings

      Claus

    Your reply:

    Name: EMail: WWW:
    Subject:
    Text:
    Timezone:

    Post a new message


 All messages from this thread: To the list 
    Message from Rohn on 4/23 2012, 17:32 -06:00
    EMail: rohnds@gmail.com

    Counting


      How do I count the number of fields in my data and display the information on my page?
     Post a reply

    Message from Rohn on 4/26 2012, 23:11 +00:00

    Re: Counting


      I meant the number of records in field. But I figured it out.
      I used this code:

      <loop code=perl>
      $Total=$Total+1
      </loop>
      <B>Total Number of PS2 Game = </B>$Total

      The problem when I move to another page, it change and only display the number of records in that page.

      It does display the right count when you first open it.

      Any suggestion or help.

     Post a reply

    Message from Claus on 4/28 2012, 09:57 +01:00

    Re: Counting



      <perl>
      get "Id==* range=0,1", "yourdatabasename";
      out"amount: $_amount_all<br>";
      </perl>

      hth

      Greetings

      Claus

     Post a reply
     

 Newest 150 Threads: To the input form 
To the input form | Older messages > | Oldest messages >>


Back to the homepage

© baseportal.com. All rights reserved. Terms of use



baseportal.com