PDA

View Full Version : PHP +only output X number of words (or letters?)


N8
13 Nov 2005, 04:30
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



I'm using VBExternal on my website, and I need to modify that little bit of code displaying the actual news post to only output a maximum of 30 words, or 190 characters.



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



I used to know how to do this through php, but I havn't coded for about 10 months and I've forgotten so much :(

_____________________________________________________





Figured it out, it was easier than I thought :)



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

worked :)

jugo
13 Nov 2005, 05:56
I answered this in the vBExternal Threads.