Use the tag before the input, and after it.
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
BALANCED SOLUTIONS
- Original Message -
From: "Michiel van Heusden" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 16, 2001 2:30 PM
Subject: [PHP] stupid little pro
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
> so
Hi!
> a$ = "test";
> b$ = "test2";
> data$ .= a$ . " " . b$ " ";
> echo data$;
>
> it outputs:
> "test test2"
> instead of:
> "test test2 "
>
> I really need that spaces..
> any help?
HTML is "normalizing" all text; So any number of spaces, tabs newlines etc.
become one space " "
3 matches
Mail list logo