Thanks for all the help, guys. I'm back up, but a lot of my cool tricks are
gone. Gotta get a better backup plan...
Gerry
On 3/12/06, Gerry Danen <[EMAIL PROTECTED]> wrote:
>
> While I am rebuilding my crashed laptop (the machine that had all my
> intelligence), I started thinking about a select
Hi there,
Thanks for your help, it is VERY appreciated :-)
Regards
Chris
> [EMAIL PROTECTED] (Chris Payne) writes:
> > I have the following 2 dates (FOr example):
> > 19-02-2003
> > 21-02-2003
> > How can I easily find out how many nights there are between the 2
> > dates? For example, the ab
[EMAIL PROTECTED] (Chris Payne) writes:
> I have the following 2 dates (FOr example):
> 19-02-2003
> 21-02-2003
> How can I easily find out how many nights there are between the 2
> dates? For example, the above would be 2 nights as the 21st would be
> the checkout date.
I guess this will work:
Steve is right you can do it that way, but I would put in the area where you
insert the information into the database. Either way is correct. but I find
this way easier and you don't take up any area on your from. (preferences)
@mysql_select_db("$DBName") or die("Unable to select
database $DBName
One way you can do that is create a local variable and have that
variable referenced in your form in either a hidden field or a text
field.
EXAMPLE
$date = date("l F d, Y") (outputted that would be say Thursday April 4,
2002)
then your field would look something like this depending how you wri