Hi guys,
This might not be the best place for this but here goes.
I want to create a dropdown list with a date range of
--
SELECT name=bdate
OPTION value=11/02/2003 SELECTEDToday
OPTION value=11/01/2003Yesterday
OPTION
This might not be the best place for this but here goes.
You are correct. At the very least, you should probably be using the
general PHP list, not the database one.
I want to create a dropdown list with a date range of
Not to be obstinate, but it looks like you already have. But, assuming
have a look at the PEAR date package.
http://pear.php.net/package/Date
_
- Original Message -
From: OpenSource [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, November 02, 2003 11:13 PM
Subject: [PHP-DB] date function
Hi guys,
This might not be the best
1) Why do you send this to a DB list?
2) Try seeing the Date class of PEAR (PEAR::Date).
El Dom 02 Nov 2003 19:13, OpenSource escribió:
Hi guys,
This might not be the best place for this but here goes.
I want to create a dropdown list with a date range of
Greetings,
I have some php code that pulls from the mysql database. Here it is:
?php
mysql_connect(wildcat.osborneindustries.com, webuser,
webpass);
$mymonth = date('n');
$cyear = date('Y');
$query = SELECT name,hdate FROM emp2 where month(hdate)=$mymonth
order by hdate;
On Saturday 06 September 2003 06:01, Darryl wrote:
I have some php code that pulls from the mysql database. Here it is:
?php
mysql_connect(wildcat.osborneindustries.com, webuser,
webpass);
$mymonth = date('n');
$cyear = date('Y');
$query = SELECT name,hdate FROM