|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Argh
how do i make my php script store the date and time in my database when someone visits my site? Its for my counter i want to know when they visit too.
|
|
#2
|
|||
|
|||
|
The first timestamp type field in a table gets updated automatically when you update any part of a record.
Just make sure you have a timestamp field in your mysql database and you are already good to go. When you select the timestamp, you probably want to do select UNIX_TIMESTAMP(colname) from <table>;
__________________
__________________________________________________ _ Wil Moore III, MCP | Integrations Specialist | Senior Consultant Are You Listed...? | DigitallySmooth Inc. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > Argh |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|