The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Looking through the PHP docs, it appears that the only data types that you can bind are ints (i), strings (s), doubles (d), and blobs (b). If I enter text into my textarea for postBody that looks like this:

Code:

This is a first line.
This is a second line.

That's the way it would be stored in the database previously when I was not using prepared statements. Now that I have to cast it as a string, it stores it in the db like so:

Code:

This is a first line.\r\n\rThis is a second line.

Which I don't want. I tried using the blog data type but then nothing was inserted into the db. Is there anyway I can preserve the data's structure integrity like I want to using prepared statements? Or is there no disadvantage to saving data into a db TEXT field in one loooong string line.

How it's stored is of no concern to you. All you need to know is what you put in will come back out exactly the same*. If you think this is not the case, then I would say you're probably mistaken about what you're putting in.

*There's a few exceptions, mainly related to charsets and column types.