Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8064513
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T11:23:26+00:00 2026-06-05T11:23:26+00:00

Hi I am having issue saving the edited page. The WYSIWYG editor is called

  • 0

Hi I am having issue saving the edited page.

The WYSIWYG editor is called CkEditor.

This is my Admin

<?php
session_start();
header("Cache-control: private");
require_once ('../include/back.php');
include_once("../ckeditor/ckeditor.php");?>
<html>
<head>
<title>ADMIN</title>
<script type="text/javascript" src="../ckeditor/ckeditor.js"></script>
</head>
<body>
<br>
<form action="../article.php" method="post" target="_blank">
<?php
$CKEditor->basePath = '/ckeditor/';
$CKEditor = new CKEditor();
$CKEditor->editor("editor1", $initialValue);
$initialValue = '<p>Words</p>';
?>
<input type="submit" value="Submit"/>
</form>
</body>
</html> 

Here is the second page which is my article page:

<?php
session_start();
header("Cache-control: private");
include("include/back.php");
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<script type="text/javascript" src="../ckeditor/ckeditor.js"></script>
</head>
<body>
<div align="center">
<table>
<tr>
<td>
<?php
$editor_data = $_POST[ 'editor1' ];
echo $editor_data;
?>
</td>
</tr>
</table>
</body>
</html>

I can’t save my article page file (html) from CKeditor. The CKeditor works when I type something and published it but when I click on the menu link to the same page and it’s blank.

Any suggestion or explanation would be appreciated. Any examples will also helpful too. T

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T11:23:27+00:00Added an answer on June 5, 2026 at 11:23 am

    Does your article page uses only the following code to display what you have entered to the editor?

    <?php
        $editor_data = $_POST[ 'editor1' ];
        echo $editor_data;
    ?>
    

    $_POST variable is populated with every request. It is not meant to store data for more than 1 request. You must take this data and save it in more persistent form like writing to database or to a file. With this code you can see what you have entered to the editor but only when you send it. The text will be lost once the page is generated and sent to your browser. Any other user won’t see that simply because he didn’t send this data. You also won’t see it when you return to the page.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

having same issue, i am totally new in php. i install XAMPP then download
I am having an issue with caching the home page of my Asp.Net Mvc
I am having a frustrating issue. My web service has an email to php
I've narrowed down the issue I'm having to this block of code, where I
i have an tiny editor web page where my users can use this editor
Having an issue opening, changing, and then saving changes to an XML file using
I am having an issue where I am saving, among other things, an array
I'm having a strange issue with saving a UserControl as a JPG. Basically what
I'm new to C# and I'm having a bit of an issue when saving
I am having a really weird issue with my image saving method. First, here

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.