Guest User

Untitled

a guest
Jan 10th, 2015
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.50 KB | None | 0 0
  1.             if ($rows == 1) {
  2.                 $adminedit = <<<HTML
  3.                   "<form>
  4.             <textarea name='editor1' id='editor1' rows='10' cols='80'>
  5.                 This is my textarea to be replaced with CKEditor.
  6.             </textarea>
  7.             <script>
  8.                 // Replace the <textarea id='editor1'> with a CKEditor
  9.                 // instance, using default configuration.
  10.                 CKEDITOR.replace( 'editor1' );
  11.             </script>
  12.         </form>"
  13. HTML;
Advertisement
Add Comment
Please, Sign In to add comment