lofaifa Posted March 26, 2012 Share Posted March 26, 2012 ..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 ! Quote Link to comment https://forums.phpfreaks.com/topic/259756-send-data-in-a-form-using-div/ Share on other sites More sharing options...
AyKay47 Posted March 26, 2012 Share Posted March 26, 2012 please don't double post, this belongs in the html section. Refer to my reply there. Quote Link to comment https://forums.phpfreaks.com/topic/259756-send-data-in-a-form-using-div/#findComment-1331310 Share on other sites More sharing options...
lofaifa Posted March 26, 2012 Author Share Posted March 26, 2012 sorry that was a mistake , i didnt mean to double post Quote Link to comment https://forums.phpfreaks.com/topic/259756-send-data-in-a-form-using-div/#findComment-1331316 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.