Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

how to separate text and image got from ckeditor in php

i have got some data from ckeditor and want to print them in a word file but as PHPWORD function does not allow any html tags so i want to separate the images and the text got from the ckeditor to store them separately. here is my code of ckeditor.

    <textarea type="text" class="ckeditor" name="Question"  id="Question" value="" placeholder="Enter Question" pattern="^[a-zA-Z]{3,30}$" oninvalid="setCustomValidity('Only Characters Allowed with Min 3 Characters ( No Special or Spaces allowed)')"   onchange="try{setCustomValidity('')}catch(e){}" required >
    </textarea>

Comments