baseportal
Start

baseportal message board

Welcome to the baseportal message board...

Please read the FAQ.

 
 Selected message: To the list 
    Message from Harald B on 5/11 2009, 15:11 +00:00

    Re: Show Id in a loop

    Your reply:

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

    Post a new message


 All messages from this thread: To the list 
    Message from Harald B on 5/10 2009, 21:38 +01:00
    EMail: habjerka@online.no

    Show Id in a loop


      This code in perl works fine

      <perl>
      get "Id==*";
      while (get_next)
      {out "$Id - $name<br>";}
      </perl>

      But this code does not

      <do action=all listtype=- language=en>
      <loop code=perl>
      out "$Id - $name<br>";
      </loop>

      The Id is 0 for all records.

      How can I get the correct Id for each record in a loop?

     Post a reply

 Messages from 300 to 450: To the input form 
<< Newest messages | < Newer messages | To the input form | Older messages > | Oldest messages >>


Back to the homepage

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



powered in 0.04s by baseportal.com
Get your own Web Database - for FREE!