this is the form:
<form action="#" method="post">
<input type="submit" name="saveit" id = "submit" value = "Save" /><br /><br />
<input type="reset" name="reset" value = "Clean" />
<textarea name="comments" dir="rtl"></textarea>
</form>
i want to save the textarea value in my database without refresh the page, how can i do that?
SQL QUERY:
UPDATE dashboard SET textarea='$comments' WHERE id=1
thank you everybody ! :)