Fresh Feed

  • Limit Characters in a PHP String: Revisited

    March 28th, 20102010-03-29T04:31:48ZF jS, Y

    Requested by Commenter: dawoodzai

    Original Post: Limit Characters in a PHP String

    So I just got a comment from dawoodzai asking if I could turn the Limit Characters in a PHP String article into a php function, well it was more like “I want to convert this to a function, … Thanks”, anyway… I made it into a function and added 2 new features, Preserve Tags and Auto Close Open Tags. Preserve Tags is my function/logic but I have to give credit to Jamie Wilkinson and the Code Snippet from CodeSnippets.Joyent.com for his auto detect and close tags function [ JamieW's Code Snippets Profile ].

    Other resources

    Continue Reading »

  •  

    blog