CodeIgniter Forums
problem with textarea - Printable Version

+- CodeIgniter Forums (
+-- Forum: Using CodeIgniter (
+--- Forum: General Help (
+--- 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) ?>

<button >Save</button>

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

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