#native_company# #native_desc#

Inserting eWebEditPro into a PHP Web page

By Daniel
on April 9, 2001

Version: 1.8

Type: Full Script

Category: File Management

License: WebSite Only

Description: This code shows you how to insert Ektron’s WYSIWYG editor, eWebEditPro, into your own PHP Web page

	Copyright 2000,	Ektron Inc.  Amherst NH  
	Latest Revision: 12-Dec-00


<?php include("../../../ewebeditpro.php"); ?>

<script language="JavaScript1.2">
if (typeof eWebEditPro != "object")
	var sMsg = "Failed to create the eWebEditPro JavaScript object.";
	sMsg += "nMost likely the path (eWebEditProPath) in file ewebeditpro.js is not correct.";
<font face="Arial" size="3">
This is a sample web page with:<br>
<li>One eWebEditPro editor</li>

<form name="frmMain">
	<?php  $WDDX = "<wddxPacket version='0.9'><header></header><data><recordset rowCount='1' fieldNames='FONT_FACE'><field name='FONT_FACE'><string>Verdana</string></field></recordset></data></wddxPacket>" ?>
	<?php echo eWebEditProEditor("MyContent2", 220, "75%", "This is <b>eWebEditPro</b>",$WDDX) ?>