php-db | 2004071
Date: 07/15/04
- Next message: Matt M.: "Re: [PHP-DB] Printing selected characters (strcnt?)"
- Previous message: Vincent Jordan: "[PHP-DB] Printing selected characters (strcnt?)"
- Maybe in reply to: Vincent Jordan: "[PHP-DB] Printing selected characters (strcnt?)"
- Next in thread: Matt M.: "Re: [PHP-DB] Printing selected characters (strcnt?)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Isn't there a tokenizer method?
Mark
-----Original Message-----
From: Vincent Jordan [mailto:vjordan <email protected>]
Sent: Thursday, July 15, 2004 5:31 PM
To: php-db <email protected>
Subject: [PHP-DB] Printing selected characters (strcnt?)
I am trying to figure out how to select the first letter of from the form
field print it then append by datetime.
Here is an example:
<snip>
$first_name = $_POST['first_name'];
$last_name = $_POST['last_name'];
$name = $first_name . ' ' . $last_name
$rma = ?strcnt($last_name), 1 . Datetime(?) // takes the 1st character from
$last_name and adds datetime in format of 715041200
</snip>
Thanks any help appreciated
Vincent Jordan
Technical Support
Smart Parts, Inc.
Loyalhanna Business Complex
100 Station Street
Loyalhanna, PA 15661
800-992-2147 X 5617
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Matt M.: "Re: [PHP-DB] Printing selected characters (strcnt?)"
- Previous message: Vincent Jordan: "[PHP-DB] Printing selected characters (strcnt?)"
- Maybe in reply to: Vincent Jordan: "[PHP-DB] Printing selected characters (strcnt?)"
- Next in thread: Matt M.: "Re: [PHP-DB] Printing selected characters (strcnt?)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

