hugue1
Založený: 04.10.2009
Príspevky: 1
Zaslal: 2009-10-04 22:07
Návrat hore
Odpovedať s citátom
|
Hello
I am a beginner with phpmyedit which already saved me quite some time
I could not find in the documentation or in the forum a simple methode so that my fields with date or datetime can have a default value of the current date
Thanks
Naposledy upravil hugue1 dňa 2009-10-07 19:08, celkom upravené 1 krát
|
doug
Založený: 10.02.2003
Príspevky: 1013
Bydlisko: Denver, Colorado (USA)
Zaslal: 2009-10-07 13:27
Návrat hore
Odpovedať s citátom
|
Set the default using the PHP date function, for example:
| Kód: |
| 'default' => date('Y-m-d') |
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|