Re: [PHP-DB] String manipulation

2009-09-11 Thread olavi
You can do like this: $str = 'helloworld'; echo preg_replace('//', ' ', $str); this will print out -> h e l l o w o r l d Olavi Ivask > How would I put a space after each letter: > > echo str_shuffle(stripslashes(mysql_result($word_result,0,"word")); > > Ron -- PHP Database Mailing List (

Re: [PHP-DB] String manipulation

2009-09-11 Thread boclair
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. OR $word_result"; ?> Increase the em value to customize the spacing Louise -- PHP Database Mailing List (http://w

[PHP-DB] String manipulation

2009-09-10 Thread Ron Piggott
How would I put a space after each letter: echo str_shuffle(stripslashes(mysql_result($word_result,0,"word")); Ron

RE: [PHP-DB] String manipulation

2005-05-02 Thread Bastien Koert
7;],1); Bastien From: "Chris Payne" <[EMAIL PROTECTED]> To: Subject: [PHP-DB] String manipulation Date: Mon, 2 May 2005 00:48:58 -0400 Hi there everyone, I'm working with a mysql Db where I have a single string that I have to split into 2 strings, the first character is the first

[PHP-DB] String manipulation

2005-05-01 Thread Chris Payne
Hi there everyone, I'm working with a mysql Db where I have a single string that I have to split into 2 strings, the first character is the first name and I have that split off into it's own variable, but what I need to know is what's the best method to read the string again BUT ignore the firs

[PHP-DB] string manipulation

2003-02-18 Thread Martin Dziura
Hello everyone, this is my first post, so please bare with me. I am very new to php and i am currently working on modifying existing php e-commerce site. so my question is as follow and its more of a general question but it involves a db so i thought i would ask here i have a mysql db, in one