Re: stupid little problem

From: Date: Fri, 16 Nov 2001 12:38:29 +0000
Subject: Re: stupid little problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-74859@lists.php.net to get a copy of this message
In html anything more than one space will be represented as only one space, so to overcome that you'll need to use   which is a non-breaking space. To get three spaces in between a word you would do: word1   word2 and there will be exactly three spaces in between. I hope that helps! Rick > sorry..I'm quite new in this php-stuff > i've got a little problem > > if I write > > a$ = "test"; > b$ = "test2"; > data$ .= a$ . " " . b$ " "; > echo data$; > > it outputs: > "test test2" > instead of: > "test test2 " > > I really need that spaces.. > any help? > thnx > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#74859) next »