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 " "; If you want a certain number of spaces, you could use the -entity: $a = "test"; $b = "test2"; $data = $a . " " . $b . " "; echo $data; Greets, Kiko ----- It's not a bug, it's a feature. [.nfq] christoph starkmann tel.: 0821 / 56 97 94 34 fax.: 0821 / 56 97 94 38 http://www.fh-augsburg.de/~kiko ICQ: 100601600 ----- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]