Re: sprintf does not format.

From: Date: Mon, 11 Sep 2000 14:24:13 +0000
Subject: Re: sprintf does not format.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-16204@lists.php.net to get a copy of this message
Hint: Do a "view source" in your browser. Spaces mean nothing in HTML. -Rasmus On Mon, 11 Sep 2000, Michel Sabatino wrote: > Hi. > > I am using php 4.0.1pl2 > > I cannot get the format I want. > > <? > > $text = sprintf("%25s%25s", "Text one", "Text two"); > print $text; > > ?> > > I just get : > > Text oneText two > > Why? > Where am I wrong? > > Thanks in advance. > > Michel. > > >

« previous php.general (#16204) next »