date("Y-m-d H:g:s", strtotime($data))
If that needs explanation then I cannot help you… ![]()
date("Y-m-d H:g:s", strtotime($data))
If that needs explanation then I cannot help you… ![]()
Here’s a handy little function. This comes in handy in many different situations, especially in regards to parsing database results. Here’s a typical way to parse through a MySQL result set: (more…)