Zend - The PHP Company




Code Gallery: linuxberg


Converting a MySQL date/time string into a UNIX timestamp  

Type: code fragment
Added by: linuxberg
Entered: 03/02/2002
Last modified: 02/12/2001
Rating: **** (6 votes)
Views: 5044
Shows two methods on how to convert a MySQL date/time string into a UNIX timestamp that can be inserted into tables or used with date().


Simple expandable html menu demonstration  

Type: code fragment
Added by: linuxberg
Entered: 25/01/2002
Last modified: 01/12/2001
Rating: - (fewer than 3 votes)
Views: 14010
A simple example on hard-coded expandable menus with a maximum of two levels. You could read the menu data from a file or from a database of course. HTML only. No JavaScript used.




Search