Welcome Guest, Not a member yet? Register   Sign In
Textarea content into DB
#1

[eluser]sas1ni69[/eluser]
Hi guys,

I've been looking all day and I have not been able to find an answer to my question. I apologize if I didn't look well enough.

I'm trying to insert a textarea text into my DB(mysql) through the post method but it keeps returning '0' inside my database. I've set the type in my db to 'text'. What gives? Is there any kind of conversion I must do?

It would help me tremendously if you could also post where I could find the answer to such a question in the future. I've looked in the documentation but I'm unsure.

Thanks in advance.


Sas1ni69
#2

[eluser]SPeed_FANat1c[/eluser]
I have done this, but as I remember there is nothing different from inserting data from input fields. Does inserting from input fields works well?

edit: you can try echo $this->db->last_query() to check what query do you get.




Theme © iAndrew 2016 - Forum software by © MyBB