Unfortunately your server was down at the time, so I can't see the example. Wouldn't it be easier to store text files on the server with the filename as the username/userid and retrieve them later with fopen()? If so make sure you give read/write access to all text files and also the directory that they are stored. Or try using a "text" field in your database. It will even hold the carriage returns etc if you type into a form.
Hope this helps,
Jason