Don't you think this has nothing specific to MySQL? Maybe you
should read some books on SQL and the manual for MySQL?
SELECT * FROM
tablename
WHERE
datefield>'2001-01-11' AND
datefied<'2001-02-12'
Don;t ask how to correctly call the query in perl, read
perldoc DBI
perldoc DBD::mysql
Does ANYBODY read books manuals these days?
Bye
Artem
----- Original Message -----
From: "Alexei Sh." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, January 27, 2001 4:04 PM
Subject: (+) Help needed
> Ok I need help with this..
> I have to values like
> $dat1="2001-01-11";
> $dat2="2001-02-12";
>
> so and i have Mysql table with
> IP | Size | Date |
> --------------------------------------
> 213.32.44.11 | 34444 |2001-01-11-12|
> --------------------------------------
> 213.32.44.11 | 34444 |2001-01-11-13|
> --------------------------------------
> 213.32.44.12 | 34444 |2001-01-12-12|
> --------------------------------------
> 213.32.44.14 | 34444 |2001-01-13-17|
> --------------------------------------
> 213.32.44.16 | 34444 |2001-01-14-11|
> --------------------------------------
> 213.32.44.111 | 34444 |2001-02-15-10|
> --------------------------------------
> 213.32.44.121 | 34444 |2001-01-13-10|
> --------------------------------------
> 213.32.44.131 | 34444 |2001-01-15-10|
> --------------------------------------
>
>
> So i need SELECT from table only record between values
> $dat1 and $dat2
> how to do this ?!
> Thx
>
______________________________________________________________________
___
> Get Your Private, Free E-mail from MSN Hotmail at
http://www.hotmail.com.
>
>
> --------------------------------------------------------------------
-
> Before posting, please check:
> http://www.mysql.com/manual.php (the manual)
> http://lists.mysql.com/ (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
<[EMAIL PROTECTED]>
> Trouble unsubscribing? Try:
http://lists.mysql.com/php/unsubscribe.php
>
>
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php