String Help PLEASE!
| From: | Shane | Date: | Tue, 08 Oct 2002 18:11:09 +0000 |
| Subject: | String Help PLEASE! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-119310@lists.php.net to get a copy of this message | ||
Greetings gang, this should be an easy one but it's kicking my butt today.
I need to build a member number in the format of 0000-00-0000 from an auto increment ID field from
my DB.
I can get the last ID value easy enough, but how the heck can I tag the new ID on to the end of the
string 0000-00-0000.
I looked in the manual at chr(), Parse_str() and str_replace() thinking that would do it, but no
luck.
Can someone point me in the right direction please?
Thanks a bunch folks!!!
- NorthBayShane