Forum Moderators: coopster

Message Too Old, No Replies

Marquee Scroller from a database with spaces

         

AndyD

8:49 pm on Jun 8, 2004 (gmt 0)

10+ Year Member



There is probably an obvious and simple answer to this, but I cannot see it!

I'm reading some values from a database, that are to be used on a marquee scroller, but how do I concatinate the spaces to seperate the text out? Everything i try seems to strip the spaces..

$scrollertext= $scrollertext . " " . mysql_result($result,$i,"scrollertext");

m_shroom

5:23 am on Jun 9, 2004 (gmt 0)

10+ Year Member



Try;

$scrollertext= ($scrollertext) . ("  ") . (mysql_result($result,$i,"scrollertext"));

 = nonbraking space