Browsing articles tagged with " PHP Development Tips"
Jun
10
2011
10
2011
The PHP Time Ago Function
It’s often handy to refer to Gmail’s “00:00 (4 minutes ago)” example as an additional feature of usability for web users. By creating an effective time-ago function using PHP, we can effectively format most MySQL dates, datetime, and timestamp entries into an easier to read and comprehend “Sometime ago” outputs. Besides, who really wants to have to read a date anymore?! Accepted MySQL Dates As MySQL is capable of storing dates and datetimes in a [...]
Subscribe to PHPDevTips!
Loading...Categories
- .Htaccess (1)
- Classes and functions (3)
- Content Management Systems (2)
- CSS (1)
- Database Security (2)
- HTML (1)
- Javascript (3)
- Miscellaneous (3)
- MySQL (5)
- PHP (13)
- Resources (2)
- SEO (1)
- Tricks (7)
- Tutorials (5)
- Usability (1)
Tag Cloud
AES_DECRYPT
AES_ENCRYPT
city state country
Content Management
database entries
database table
data conversion
data input
data management
data sanitizing
data security
date time
decrypted
domain name
encrypted data
ExpressionEngine
geoinfo
hacking
htaccess file
htmlentities
ip addresses
javascript
mamp
myadmin
mysql query
mysql server
mysql_real_escape_string
open source web development
php
php filter
query mysql
query retrieves
sanitizing
search engine optimization
security
strip_tags
time ago
time functions
tips and tricks
usability
vulnerability
wamp
web development environment
website configuration
Wordpress

