<html>
<body>
<form>
<textarea name="test[]">This is some text1.</textarea><br>
<textarea name="test[]">This is some text2.</textarea><br>
<textarea name="test[]">This is some text3.</textarea><br>
<textarea name="test[]">This is some text4.</textarea><br>
</form>
<?php
// Include CKEditor class.
include("./ckeditor/ckeditor.php");
// Create class instance.
$CKEditor = new CKEditor();
// Path to CKEditor directory, ideally instead of relative dir, use an absolute path:
// $CKEditor->basePath = '/ckeditor/'
// If not set, CKEditor will try to detect the correct path.
$CKEditor->basePath = './ckeditor/';
// Replace all textareas with CKEditor.
$CKEditor->replaceAll();
?>
</body>
</html>one example

Re: Ckeditor with PHP arrays of textareas
Re: Ckeditor with PHP arrays of textareas
Re: Ckeditor with PHP arrays of textareas
<html> <head> <style> a {text-decoration:none;color:blue} </style> </head> <body> <form> <textarea id="1" name="test[]">This is some text1.</textarea><br> <textarea id="2" name="test[]">This is some text2.</textarea><br> <textarea id="3" name="test[]">This is some text3.</textarea><br> <textarea id="4" name="test[]">This is some text4.</textarea><br> </form> <?php // Include CKEditor class. include("./ckeditor/ckeditor.php"); // Create class instance. $CKEditor = new CKEditor(); // Path to CKEditor directory, ideally instead of relative dir, use an absolute path: // $CKEditor->basePath = '/ckeditor/' // If not set, CKEditor will try to detect the correct path. $CKEditor->basePath = './ckeditor/'; // Replace all textareas with CKEditor. $CKEditor->replaceAll(); ?> </body> </html>