can i use str_replace for this?
Posted: Wed Mar 03, 2004 5:55 am
hi guys
anyway straight to the point
basically i have a nice little section of my site that sorts by last logged, last activity and register date, i used teh mysql now() function to do this so i get the date in the format (something like it anyway)
what function should i use?
and what would the basic coding look like as i havent used any replace functions before (never need to)
thanks in advence
anyway straight to the point
basically i have a nice little section of my site that sorts by last logged, last activity and register date, i used teh mysql now() function to do this so i get the date in the format (something like it anyway)
now i personally dont mind it like that as it guarantees mysql will be able to 'sort' with it, however i am making this information viewable by the public also so i was wondering if i could replace it with something like 3rd March 3004 at 15:23:23mysql wrote: 2004-03-03 15:23:23
what function should i use?
and what would the basic coding look like as i havent used any replace functions before (never need to)
thanks in advence