Printing "n" characters

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • laredotornado@zipmail.com

    Printing "n" characters

    Hi,

    I'm using PHP 5. If I want to print out "n" of the same character
    (e.g. "\t") where n is an integer greater than 0, is there a simple
    way to do this other than iterating over a for loop?

    Thanks, - Dave
  • John Dunlop

    #2
    Re: Printing "n&quot ; characters

    laredotornado@z ipmail.com:
    I'm using PHP 5. If I want to print out "n" of the same character
    (e.g. "\t") where n is an integer greater than 0, is there a simple
    way to do this other than iterating over a for loop?


    --
    Jock

    Comment

    • Jerry Stuckle

      #3
      Re: Printing "n&quot ; characters

      laredotornado@z ipmail.com wrote:
      Hi,
      >
      I'm using PHP 5. If I want to print out "n" of the same character
      (e.g. "\t") where n is an integer greater than 0, is there a simple
      way to do this other than iterating over a for loop?
      >
      Thanks, - Dave
      >


      --
      =============== ===
      Remove the "x" from my email address
      Jerry Stuckle
      JDS Computer Training Corp.
      jstucklex@attgl obal.net
      =============== ===

      Comment

      Working...