RE: [PHP-DB] string

From: Date: Fri, 01 Nov 2002 01:56:15 +0000
Subject: RE: [PHP-DB] string
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-22871@lists.php.net to get a copy of this message
DATE_FORMAT(your_column,'%b') or SUBSTRING() ---John Holmes... > -----Original Message----- > From: John Coder [mailto:jcoder@insightbb.com] > Sent: Thursday, October 31, 2002 8:47 PM > To: php-db@lists.php.net > Subject: [PHP-DB] string > > I want to list months found in db by the first three letters as in an > abbrevaition of the months i.e.: > Jan > Feb > Mar > Apr > and so forth > I can get the names by monthname(blah) but am stuck on converting > strings to first three letters I"ve been trying explode("",$blah) but > that doesn't work. I'm at a loss here I can't find the correct string > function for this. help would be greatly appreciated. > > John Coder > > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.db (#22871) next »