#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2012
    Posts
    60
    Rep Power
    2

    Can anyone tell me what this boolean is for?


    Hi there.

    I have this line on my php script:

    $nameBroken = wordwrap($row['Name'], 50, "<br/>", true);

    I just copied this from other script, and now am trying to understand what this "true" represents so that I can confidently use this wordwrap function on other work.

    So can anyone please tell me what this boolean value of "true" represents??
  2. #2
  3. Did you steal it?
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    14,002
    Rep Power
    9398
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2012
    Posts
    60
    Rep Power
    2
    Thanks


    Originally Posted by requinix
  6. #4
  7. Old Fart
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2012
    Location
    Chicago
    Posts
    106
    Rep Power
    4
    google "php wordwrap"

    select first hit: PHP: wordwrap - Manual

    Read

IMN logo majestic logo threadwatch logo seochat tools logo