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

  • Home
  • SEARCH
  • 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 6172469
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T23:23:52+00:00 2026-05-23T23:23:52+00:00

I am currently writing a system for publishing tutorials about basic PHP. However, I

  • 0

I am currently writing a system for publishing tutorials about basic PHP.

However, I am currently writing a Form to Edit a tutorial, that is in the Database.

Now, what I am trying to do is, using setDefaults when I view the Form on the website. However, the textarea is not showing the tutorial. I found the problem as I googled a little bit about it and also found an answer here that seems to be a pretty similar problem.

First of all I need to tell you about the the value that will be shown in this textarea element:
– Its a tutorial about PHP and will have special carachters in it due to the fact, that it will contain php code, maybe some HTML and some CSS and maybe even Javascript.

  • it will contain BBCode, as I am working with bbcodes to style my tutorial such as the BBCode Markup from the Zend Framework + additional bbcodes that I created for syntax highlighting

  • The Textbox will be seen with a Javascript Editor called “Markitup” that is based on jQuery. However, the Editor is disabled to minify the problem so plase ignore the last part, as it is only import:

  • Code + BBCode will be shown in this textarea element.

So what is next:
I found the source of my problem here:
Why zend_form cannot populate inputs with records from Firebird db with diacritic characters?

It clearly shows me, that Zend Framework is going to escape my values that that must be the reason, that the only element in my populated form is the textarea with the code.

QUESTION:
How to I get the tutorial shown in the plain textarea element WITHOUT changing an original file from the Zend Framework?

I dont want to change the escape(value) in the helper, so that my form is working. As the next update will simply overwrite everything. So I need to do that without changing original files.

I am looking forward to discuss this problem with you and hope that somebody can give me a hint or a solution to this problem.

  • 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-05-23T23:23:52+00:00Added an answer on May 23, 2026 at 11:23 pm

    According to the Zend manual the default escaping method is htmlspecialchars but you can override it using the setEscape method. Set it in the Controller to try out if it works:

    $this->view->setEscape('yourescapefunction');
    

    But it’s strange that “nothing” appears, since htmlspecialchars returns empty strings only if ENT_IGNORE is provided as flag and thats not the default.

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

Sidebar

Related Questions

I am currently writing a system in PHP that requires interface with a USB
I'm currently writing some methods that do some basic operations on form controls eg
I am currently writing a system that stores meta data for around 140,000 ish
I am currently re-writing my functions script (PHP) for my login system. Is the
Currently I am writing a system for a user that on filling in a
I am currently writing a program that will read part of the windows system
I'm currently writing an N-Tier architected ASP.NET system with a relatively normalised SQL database
I'm currently writing some installer script that fires SQL files against different database types
I'm currently in the throes of writing a system based on subdividing space (it's
I am currently writing a simple, timer-based mini app in C# that performs an

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.