RE: Question about dates

2002-08-26 Thread Soheil Shaghaghi
Thanks so much. I think it's a good way :) Now, I can't get the date printed in that format! Here is the code I have: sub DATEJOINEDRAW{ my %arg = @_; if ($arg{USER}) { my $UserID = $arg{USER}->get(field => 'UserID');

Re: Question about dates

2002-08-26 Thread Jim Lundeen
Here's a piece of code from a script I wrote for our jewelry store that looks to see if the promotional discount code is still valid... I don't see any reason why Felix's method wouldn't work either; it's doing pretty much the same thing as mine... $mysql_query=qq{SELECT CURRENT_DATE-DATE_FOR

Re: Question about dates

2002-08-26 Thread Felix Geerinckx
on Mon, 26 Aug 2002 20:37:22 GMT, Soheil Shaghaghi wrote: > I want to sell a service. > I have a form where the user comes to purchase the service. > I can get the date from SQL database in any format and display it in > form. > > At this point, when the user fills out the form and submits it,

Question about dates

2002-08-26 Thread Soheil Shaghaghi
Hi everyone, I am trying to do some calculations based on the date the users have registered with the site. I want to sell a service. I have a form where the user comes to purchase the service. I can get the date from SQL database in any format and display it in form. At this point, when the use

Re: Open new window.

2002-08-26 Thread Exile
Perl don't handle this, but you can try : . ... Rgds, Connie - Original Message - From: "Mike(mickako)Blezien" <[EMAIL PROTECTED]> To: "Perl List" <[EMAIL PROTECTED]> Sent: Tuesday, August 27, 2002 2:48 AM Subject: Open new window. > Hello all, > > this maybe bit off

Open new window.

2002-08-26 Thread Mike(mickako)Blezien
Hello all, this maybe bit off topic, but was hoping someone may have some suggestions. I have simple form that a person makes a selection from a drop box and we would like to open a new window, and resize it similar to using javascript(pop-up window), but can't really use javascript, because we