FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » PHP Help
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: PHP Help [message #169906 is a reply to message #169886] Thu, 30 September 2010 00:30 Go to previous messageGo to previous message
John is currently offline  John
Messages: 18
Registered: September 2010
Karma:
Junior Member
On Wed, 29 Sep 2010 05:10:47 -0700 (PDT), Captain Paralytic
<paul_lautman(at)yahoo(dot)com> wrote:

> On 29 Sep, 03:39, John <ste...@sbcglobal.net> wrote:
>> I have a script that pulls a .txt file and displays the results for
>> me.
>
> What is the input? What are these "results"?
>
>> I need the scipt to limit the number of letters to not more than 15
>> letters, but not 15 letters exactly.
>
> This makes no sense at all. Please think about what it is you actually
> want and supply an example!

Here is the line that I need to work:

$length = (strlen($length) > 0) ? $length : null;

I need this code to be changed so that I only see 15 characters and
under.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Learn Php In 17 Hours.
Next Topic: Can anyone recommend a good debugger & IDE for PHP?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Oct 21 03:19:33 GMT 2024

Total time taken to generate the page: 0.03879 seconds