HTML Editorial manager is an application that is utilized to see or alter or reproduce any page by duplicate and glue or move and customize. The primary component of this HTML proofreader is you can undoubtedly imitate including the CSS Style like textual style family, shading, style thus on.HTML Editorial manager will give you split-screen see consequently you can without much of a stretch view the review and alter the code in same time.
Presently let we perceive how to actualize HTML proofreader in your site.
Step 1
Download the pre-made wellspring of HTML Manager Here. Furthermore, separate every one of the documents in an envelope
Step 2
Make a record called index.php outside the separated envelope
Step 3
Glue the accompanying code inside the index.php
Code:
?php
mysql_connect('HostName', 'UserName', 'Secret key') or die('Conn Err!!!!');
mysql_select_db('Your DataBase Name');
if(isset($_POST['send_data'])):
$content = $_POST['cms_short'];
mysql_query("INSERT INTO ss_cms(CMS_DESC) VALUES('$content')") or die("Insert Err!!");
endif;
?>
In the above code enter your Hostname, Username, Secret key and yourDatabase name to associate with your database.
Step 4
After the end of php explanation glue the accompanying page
!DOCTYPE html Open "-/W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
html xmlns="http://www.w3.org/1999/xhtml">
head>
title>Edit Article/title>
meta http-equiv="content-sort" content="text/html; charset=utf-8″/>
script type="text/javascript" src="html_editor/ckeditor.js">/script>
/head>
body>
h1>Edit Article/h1>
/body>
/html>
The above code proclaims a javascript called ckeditor.js and rest of them are standard html code
Step 5
Call the java script capacity inside your HTML and make a structure and glue it inside body tag.
Code:
structure name="formdata" method="post">
div>
textarea cols="80″ rows="10″ name="cms_short">/textarea>
script type="text/javascript">
CKEDITOR.replace( "cms_short" );
/script>
information type="submit" name="send_data" value="Submit"/>
/div>
/form>
The above code makes a structure named formdata and inside that it makes a div tag. Inside those div label it makes a textarea with 80 section and 10 columns , name the content range as CMS_shorts. After that it pronounces a script in which replaces the cms_short with CKEDITOR.js. Under that make a catch with name send_data.
Step 7
Announce a php to recover information to show your HTML in underneath HTML Editorial manager.
Code:
?php $get_tb = mysql_query("SELECT * FROM ss_cms WHERE CMS_ID = '64′"); $get_row = mysql_fetch_assoc($get_tb); ?>
p> ?=$get_row['CMS_DESC']; ?>/p>
The above code will recover information from table name ss_cms and table rowCMS_DESC in CMS_ID "64"
Vola! You have effectively executed HTML Supervisor in your site. On the off chance that you feel that you have stuck at actualizing the HTML Proofreader kindly don't dither to get in touch with us. Tell us how your execution of HTML Editorial manager works in your site underneath in the remarks.
DOWNLOAD HTML Editorial manager
Presently let we perceive how to actualize HTML proofreader in your site.
Step 1
Download the pre-made wellspring of HTML Manager Here. Furthermore, separate every one of the documents in an envelope
Step 2
Make a record called index.php outside the separated envelope
Step 3
Glue the accompanying code inside the index.php
Code:
?php
mysql_connect('HostName', 'UserName', 'Secret key') or die('Conn Err!!!!');
mysql_select_db('Your DataBase Name');
if(isset($_POST['send_data'])):
$content = $_POST['cms_short'];
mysql_query("INSERT INTO ss_cms(CMS_DESC) VALUES('$content')") or die("Insert Err!!");
endif;
?>
In the above code enter your Hostname, Username, Secret key and yourDatabase name to associate with your database.
Step 4
After the end of php explanation glue the accompanying page
!DOCTYPE html Open "-/W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
html xmlns="http://www.w3.org/1999/xhtml">
head>
title>Edit Article/title>
meta http-equiv="content-sort" content="text/html; charset=utf-8″/>
script type="text/javascript" src="html_editor/ckeditor.js">/script>
/head>
body>
h1>Edit Article/h1>
/body>
/html>
The above code proclaims a javascript called ckeditor.js and rest of them are standard html code
Step 5
Call the java script capacity inside your HTML and make a structure and glue it inside body tag.
Code:
structure name="formdata" method="post">
div>
textarea cols="80″ rows="10″ name="cms_short">/textarea>
script type="text/javascript">
CKEDITOR.replace( "cms_short" );
/script>
information type="submit" name="send_data" value="Submit"/>
/div>
/form>
The above code makes a structure named formdata and inside that it makes a div tag. Inside those div label it makes a textarea with 80 section and 10 columns , name the content range as CMS_shorts. After that it pronounces a script in which replaces the cms_short with CKEDITOR.js. Under that make a catch with name send_data.
Step 7
Announce a php to recover information to show your HTML in underneath HTML Editorial manager.
Code:
?php $get_tb = mysql_query("SELECT * FROM ss_cms WHERE CMS_ID = '64′"); $get_row = mysql_fetch_assoc($get_tb); ?>
p> ?=$get_row['CMS_DESC']; ?>/p>
The above code will recover information from table name ss_cms and table rowCMS_DESC in CMS_ID "64"
Vola! You have effectively executed HTML Supervisor in your site. On the off chance that you feel that you have stuck at actualizing the HTML Proofreader kindly don't dither to get in touch with us. Tell us how your execution of HTML Editorial manager works in your site underneath in the remarks.
DOWNLOAD HTML Editorial manager