I want to use php form builder class. But I can't run this class. Im using as below(from example page):
<?php
session_start();
require_once 'PFBC/Form.php';
$form = new Form("webeditors", 650);
$form->addElement(new Element_Hidden("form", "webeditors"));
$form->addElement(new Element_TinyMCE("TinyMCE:", "TinyMCE"));
$form->addElement(new Element_CKEditor("CKEditor:", "CKEditor"));
$form->addElement(new Element_Button);
$form->render();
?>
Result of above codes:
But it must be as below:
PHP Designer 7 Result:
Output of Javascript Error Console:
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost/PFBC/Resources/tiny_mce/tiny_mce.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost/PFBC/Resources/ckeditor/ckeditor.js
Uncaught ReferenceError: tinyMCE is not defined
Where is the problem. I can't understand.
Meantime, I'm using AppServ AppServ 2.5.10
Somebody says you need to download tinymce and ckeditor and optimize for your project. But already pfbc has all.