davidabroad wrote:
> I
> would like the "date received" part of the form used for inputting
> information about the books to be set automatically and invisibly.
> However, I would need to be able to show that date as mm/dd/yy on a
> list coming from the MySQL db.
Hi david,

This can be done very easily with a hidden form field:

<input type="hidden" name="date_received" value="<?php echo| 
date("m/d/y")| ?>" />

Make sure your database field is set for date type entries.

Another thing to consider is timezone, if your app needs to be that 
specific... 


Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/php-list/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to