hey peeps
i was wondering how do some sites only show a certain amount of a string
eg.
$string = "hello and welcome to the php builder forums";
but on the page it comes up as
hello and welcome....
how do i do this?!
thanks
Comms 😉
With [man]substr[/man]?
He hunched forward eagerly, firing a stream of syntax out of the side of his mouth, filled with calls to "substr" and "wordwrap". I gently lifted the keyboard away from him and suggested that a more appropriate answer in this case would be RTFM. He was chagrined. It's not often he looks like that.
thanks 🙂
and i think u've gone a lil' mad with
He hunched forward eagerly, firing a stream of syntax out of the side of his mouth, filled with calls to "substr" and "wordwrap". I gently lifted the keyboard away from him and suggested that a more appropriate answer in this case would be RTFM.
He was chagrined. It's not often he looks like that.
:p