RE: [PHP-DB] Cutting strings
| From: | Michael Uyttersprot | Date: | Sun, 26 Jan 2003 13:20:35 +0000 |
| Subject: | RE: [PHP-DB] Cutting strings | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-25149@lists.php.net to get a copy of this message | ||
Use the substr function
string substr ( string string, int start [, int length] )
http://be.php.net/manual/en/function.substr.php
Greetz,
Michael
-----Original Message-----
From: Chezney [mailto:chz@new.co.za]
Sent: dimanche 26 janvier 2003 10:08
To: php-db@lists.php.net
Subject: [PHP-DB] Cutting strings
Hi
I have values in my table but for one of the fields I would only like to
display the first 5 chars instead of 15 how is this possiable?
--
Kind Regards,
Chezney
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php