Re: string manipulation

From: Date: Thu, 12 Aug 2004 17:09:00 +0000
Subject: Re: string manipulation
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-193609@lists.php.net to get a copy of this message
On Friday 13 August 2004 01:00, Matthew Oatham wrote: > Hi I am trying to track down a method for transferring a database id such > as 5 into a nice formatted order id such as ORD0005 - where the format for > the order id is "ORD" + 5 digits made up of the database id str_pad(), please RTFM before you ask such questions. It's obvious from your subject that you know it's something to do with strings, so where better than to look at the chapter on String Functions? Browse through them, checkout the examples, it's a good way to learn. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* Ginsburg's Law: At the precise moment you take off your shoe in a shoe store, your big toe will pop out of your sock to see what's going on. */

« previous php.general (#193609) next »