php-general | 2001032
Date: 03/01/01
- Next message: almir: "[PHP] constatnts and case sensitivity"
- Previous message: Louis Grenzebach: "[PHP] BSD/GD/PHP/APACHE/SOS"
- Next in thread: Yasuo Ohgaki: "Re: [PHP] Question using chop :-)"
- Reply: Yasuo Ohgaki: "Re: [PHP] Question using chop :-)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I have got chop to work for me to remove characters at the end of the
string using something like:
echo $listing_values1 = chop(substr($listing_values['name'],0,4);
echo $listing_values1 ['name'] . '...' . ' ' . "\n";
Works great except for the fact after the name there appears to be a letter
ie:
Brita Water Filter
Would become:
BritaB...
The letter is different for each entry. What am I oing wrong. Any help
appreciated thanks in advance...
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: almir: "[PHP] constatnts and case sensitivity"
- Previous message: Louis Grenzebach: "[PHP] BSD/GD/PHP/APACHE/SOS"
- Next in thread: Yasuo Ohgaki: "Re: [PHP] Question using chop :-)"
- Reply: Yasuo Ohgaki: "Re: [PHP] Question using chop :-)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

