Display only part of content..

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kevin7
Forum Commoner
Posts: 96
Joined: Fri May 21, 2004 6:54 am

Display only part of content..

Post by kevin7 »

hmm... how can i turn a long text... as below...
Motorola MPx — a revolutionary mobile device combining always-on connectivity in a never-before-seen form factor. The Motorola MPx brings real-time assistance to mobile professionals – at work, on the road, at home and at play.
Part of the Motorola MOTOPro™ series of handsets featuring Microsoft Windows® Mobile software, the MPx delivers a radical new approach to communications for the mobile professional. The dual-hinge device opens both lengthways as a terrific clamshell phone and in landscape mode as an exceptional email device with a wide screen and full QWERTY keyboard. The model MPx accomplishes this with a familiar, easy-to-navigate interface like the one you’re used to on your Windows® office desktop.
become this...
Motorola MPx — a revolutionary mobile device combining always-on connectivity in a never-before-seen form factor. The Motorola MPx brings real-time assistance to mobile professionals – at work, on the road, at home and...
so, if ppl wanna read more... it can click on a link "more" for futher...
hmm... how to say, what i want is a short part of the story...

thank..
qads
DevNet Resident
Posts: 1199
Joined: Tue Apr 23, 2002 10:02 am
Location: Brisbane

Post by qads »

use [php_man]substr[/php_man].
Post Reply