This sample shows how to replace all <textarea> elements
		with CKEditor by using PHP code.
	
		To replace all <textarea> elements, place the following call at any point
		after the last <textarea> element:
	
<?php
// Include the CKEditor class.
include("ckeditor/ckeditor.php");
// Create a class instance.
$CKEditor = new CKEditor();
// Path to the CKEditor directory.
$CKEditor->basePath = '/ckeditor/';
// Replace all textarea elements with CKEditor.
$CKEditor->replaceAll();
?>