The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Currently I have a form that submits some data into a database, I need to find a way that the form, using a hidden field can submit a current time into a datetime field.
|
|
#2
|
||||
|
||||
|
Let's suppose your date-time field is called dateline, located in table data_table. This is what the query should look like:
PHP Code:
Here is how to do that quickly, after you use the SELECT query, just follow this example: PHP Code:
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|