Jump to content

send data in a form using div !


lofaifa

Recommended Posts

..and its not working (i replaced <textarea> with <div> to apply some html tags inside it )

 

and this is my form :

 

<form action="proc.php" method="post">
<div id="text" name="question_text" class="text" contenteditable="true"></div>
</form>

 

but when i submit some text the $_POST['question_text'] is not set !

 

Link to comment
https://forums.phpfreaks.com/topic/259756-send-data-in-a-form-using-div/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.