CodeIgniter Forums
problem with textarea - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: problem with textarea (/showthread.php?tid=90669)



problem with textarea - padam - 04-15-2024

I am trying to save a textarea to the database, but the table is not updated.
My code:
<label for="title">Title</label>
<input type="text" id="title" name="title" value="<?= old("title", esc($article->title)) ?>">


<label for="fulltext ">Content</label>

<textarea id="fulltext " name="fulltext " rows="4" cols="50" >
<?php old("fulltext", $article->fulltext) ?>
</textarea>


<button >Save</button>


RE: problem with textarea - InsiteFX - 04-15-2024

Where is the code for the form open and submit button?