The easiest way is to set the field as a timestamp and set its default value to: CURRENT_TIMESTAMP.
This way the database will do it for you.
Another option is to use <?php echo(date('Y-m-d H:i:s')); ?> as the value for that column.
The easiest way is to set the field as a timestamp and set its default value to: CURRENT_TIMESTAMP.
This way the database will do it for you.
Another option is to use <?php echo(date('Y-m-d H:i:s')); ?> as the value for that column.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.