Re: String manipulation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ron Piggott wrote:
How would I put a space after each letter:

echo str_shuffle(stripslashes(mysql_result($word_result,0,"word"));

Ron
CSS best handles styling

E.G.
   <div style="letterspacing:0.5em;"><php echo $word_result;?></div>
OR
   <?php
   print "<div style='letterspacing:0.5em;'>$word_result</div>";
   ?>

Increase the em value to customize the spacing

Louise

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux