stanneo
Založený: 03.02.2011
Príspevky: 14
Zaslal: 2011-03-30 20:45
Návrat hore
Odpovedať s citátom
|
Hi everybody,
after ID is my second column a date column in format
2011-03-30 16:00:00
How can I filter records from the database which are within a data range, for example beetween:
2011-03-25 16:00:00 and 2011-03-30 16:00:00
The Code for the date field is :
$opts['fdd']['Datum'] = array(
'name' => 'Datum',
'select' => 'T',
'options' => 'LVRC', // updated automatically (MySQL feature)
'maxlen' => 19,
'default' => 'CURRENT_TIMESTAMP',
'sort' => true
);
I mean, the user of the table must be able to filter these records
Thank you for any suggestions
stanneo
|
doug
Založený: 10.02.2003
Príspevky: 1013
Bydlisko: Denver, Colorado (USA)
Zaslal: 2011-04-06 15:08
Návrat hore
Odpovedať s citátom
|
'select' => 'N' provides some filtering for one point but not for a range.
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|