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.
*/


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to