baseportal message board

Welcome to the baseportal message board...

Please read the FAQ.

 Selected message: To the list 
    Message from Qasem Alsaleh on 5/18 2003, 21:39 +03:00

    How to get the Sum of data from a field ?

      I am very new to Perl. My question (which might be a very simple one) is: I want to get the Sum of data from a field named (CME\ Points). The data is the result of a search process in the database. So, how to get the Sum of the data from that particular field (a column in the database)?
      Thanks in advance..

    Your reply:

    Name: EMail: WWW:

    Post a new message

 All messages from this thread: To the list 
    Message from Charlie on 5/18 2003, 19:27 +00:00
    EMail: WWW:


      Well, first off, I want to say, BASEPORTAL ROCKS AND KICKS BUTT!

      Second, visit my website guys!

      Third, I have a question. I have an image database on my site where people can submit images, but I want users to be able to comment on them and the comments will show up after they post them. Is this possible and how could I do it? Thanks!

      - Charlie

      i @/\/\ @ l337 h@x0r! h@rh@rh@r!!!!!!111 i r0x ur b0x! i r|_|L3! ph3@r m@h l337 p|xeII/\/g skIllz!!!!11111 r@wr!!!!!11111
      Note: The above is a JOKE, I'm not a hacker, haha
     Post a reply

    Message from Christoph Bergmann on 5/21 2003, 20:22 +01:00

    Re: Comments

      First: Thanx ;-)

      Third: This sounds a bit more complex. How do you manage your image database right now? With baseportal? If so, did you checked the "guestbook" entry in the library? Basically you need a second database which holds the user comments, but you'll need some perl coding here I suppose...
     Post a reply

    Message from Charlie on 5/25 2003, 14:33 +00:00

    Re: Comments

      Wow *.* that does sound complex. I thought I remembered seeing that you could do it with CGI, but the problem is that I'd have to add the CGI code to every post. However, if there was a way to do it, I could simply have the CGI code added to the end of their posts and that would give people the ability to comment. So anyways, how could I have the CGI code automatically added to the end of their post?

      And thank you :)
     Post a reply

    Message from Christoph Bergmann on 5/27 2003, 20:19 +01:00

    Re: Comments

      Well its not really CGI its Perl ;-)

      What you have to do is add Perl code to your template which handles the comments of your users. Right now I'm very busy but I hope I'll find the time the next days to give you an example how it should work...
     Post a reply
 Messages from 3150 to 3300: To the input form 
<< Newest messages | < Newer messages | To the input form | Older messages > | Oldest messages >>

Back to the homepage

© All rights reserved. Terms of use