View Single Post
  #1 (permalink)  
Old February 28th, 2007, 08:20 AM
Hylsan Hylsan is offline
Authorized User
 
Join Date: Dec 2006
Location: , , Sweden.
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to store textarea in a db?

Hi!
How do I store and retrieve data using textarea?
I tested with BLOB but how do I then put the stored data back in the textarea?
I tried with a fetch_array and then inserting the data as value, but it didnt work. "$temp[innehall]" is the column.
Code:
echo "<textarea class='iFlat' name='innehall' rows='3' cols='15' wrap='virtual' value='" .$temp[innehall] . "'></textarea>";
Can anyone help me with this?

/Hylsan

Reply With Quote