I have a page in which users send messages to each other (something like orkut)
and I have to store the messages.
What will be a good way to store these messages.
I thought of 3 options
First, I can just store the messages in mysql database creating a column for messages like
Expand|Select|Wrap|Line Numbers
- message varchar (200)
Second, I can store the messages in a file for each user.
Is there something in PHP like lseek in C ?
Third, I am not sure how to handle BLOB, but I read somewhere it is used to store binary data of large size, so will it be possible to do that for the messages?
I am not sure what the professionals use
Can I get any standard codes for these type of operations ?
Thanks