Re: [PHP] Formatting Question

2006-10-05 Thread Toby Osbourn
Thanks to everyone for their suggestions, I used the nl2br function in the end, and it works perfectly. On 02/10/06, Richard Lynch <[EMAIL PROTECTED]> wrote: On Mon, October 2, 2006 4:13 pm, tedd wrote: > Why not use nl2br() to show the data in the browser and leave the > data "as-is" in the dB

[PHP] Formatting Question

2006-10-02 Thread Toby Osbourn
Sorry to plague you with a question that should have a simple answer, but I can't find said answer anywhere (probably looking for the wrong things in the wrong places!) Basically I want to allow a user to input a string via a form into a database, I have the code to do that and it works almost 10

[PHP] Stop - Blog Time

2006-09-22 Thread Toby Osbourn
I don't want to spam a new blog I have created, so I won't post a link to it, but I was thinking about every so often talking about PHP and its many uses - to that end, if anyone has anything they want to blog, but couldn't be bothered actually making a blog, please email me - naturally you will g

[PHP] readdir

2006-09-15 Thread Toby Osbourn
I have been writing some code that visits each directory stored within one directory in turn, pics a random image from it and displays that image. I have the code working fine, apart from one small quirk that I can't really understand. In one version of the implementation, the directories appear