Re: random
| From: | Jason Wong | Date: | Wed, 05 Jun 2002 01:46:56 +0000 |
| Subject: | Re: random | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-19608@lists.php.net to get a copy of this message | ||
On Wednesday 05 June 2002 03:56, Natividad Castro wrote:
> hi to all,
>
> I have a drop down menu where users will select a word. After they submit
> it, I will generate a code number where I want to display the first three
> characters of the word they selected follow by Month and Date and three
> number that will be generating randomly.
> I don't have any problem displaying the MM/DD and the three numbers, but I
> don't know how to get the first three characters.
substr()
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
Lake Erie died for your sins.
*/