Welcome Guest, Not a member yet? Register   Sign In
problem with textarea
#1

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>
Reply
#2

Where is the code for the form open and submit button?
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB