posting field_DATE variables
| From: | Fabrizio Tivano | Date: | Wed, 22 Jan 2003 15:53:08 +0000 |
| Subject: | posting field_DATE variables | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-25039@lists.php.net to get a copy of this message | ||
Hello dear all,
I have a php-application witch use mysql DB;
My db have a field (DATE) like timestamp(8) = 20030110,
for lay-out problem i call field_DATE
with a query :
date_format(field_DATE, '%d-%m-%Y'),
and it display the field_DATA;
10-01-2003
well.....at this point i need to post this field_DATA on another php script witch
let me to make another SELECT on same DB;
but now the $field_DATA variable is like 10-01-2003.
How i can post $field_DATA variable such as 20030110 again? (the original DB_field).
thaks in advance
ciao,
fabrizio