hi,
i have an FreeRTE editor used in my site but whenever i enter something in the TextArea of the editor is not showing in the DB , can anyone tell me what's wrong with my that Piece of Code - function freeRTE_Preload($content) {
-
-
// // Strip newline characters.
-
-
$content = str_replace(chr(10), " ", $content);
-
-
$content = str_replace(chr(13), " ", $content);
-
-
// // Replace single quotes.
-
-
$content = str_replace(chr(145), chr(39), $content);
-
-
$content = str_replace(chr(146), chr(39), $content);
-
-
// // Return the result.
-
-
return $content;
-
-
}
-
-
$content = freeRTE_Preload("") ;
-
-
<script>
-
-
initRTE('<?echo $content ;?>', 'example.css');
-
-
</script>
How can i Get that Content Variable Through POST ??
5 2174
Just do a var_dump( $_POST ); and see what's in there.
Or see in the RTE editor code, where's the name of the textarea field (probably hidden) that keep sthe code. That's probably the one.
But it is easier to just do var_dump.
Regards,
Simply, U R GREAT !
I never Knew That Var_dump() function
Everyday i Learn Something New From You Gr8 People
I LOVE YOU bytes ;)
LOL, believe me, var_dump is a life saver.
Glad it helped!
Kind regards.
Atli 5,058
Recognized Expert Expert @pbmods
My favorite PHP function :) - echo "<pre>", print_r($_POST, true), "</pre>";
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: monika |
last post by:
I want to use a simple editor which has the capability of changing color or
bold it... a very simple one in my application of asp/access. Can anyone
suggest any such editor whereby I can use it?
my purpose is to get story written by a student in the textbox/textarea of
that editor from the database. The teacher highlights using the editor...
|
by: David Winter |
last post by:
I'm not a developer myself, but I am looking for something that maybe
one of you guys
- has done
- knows about
- would like to do - yes, I have a small budget for this. :)
The basic idea: A browser-based editor for *static* HTML pages, like
this:
|
by: tomy_baseo |
last post by:
I'm new to HTML and want to learn the basics by learning to code by hand
(with the assistance of an HTML editor to eliminate repetitive tasks).
Can anyone recommend a good, basic HTML editor that's a step beyond
Notepad (not a WYSIWYG tool). Thanks.
|
by: Yaseen |
last post by:
Hi,
I am trying to copy the content of word document to a
DHMLEditor. When i copy and paste the content in the
editor it shows only a placeholder for the images and it
take different tags rather than html image tag or treates
it as a oleobject.
I want to copy the content and upload the images on the
server and save the content by...
|
by: SeaPlusPlus |
last post by:
I want to convert large files of prose to xhtml and so I need a way to
remove unwanted line wraps. So, I'm looking for a freebee editor that
has the capability of searching for a single "carriage return/line feed"
or "line feed/carriage return" and removing them. I quess what I need is
an editor that allows non-printable characters in it's...
| |
by: David Lozzi |
last post by:
Howdy,
I'm using a WYSIWYG editor called TinyMCE. When I edit some text and then
save it back to my SQL server using a SQLCommand, all HTML characters are
changed to HTML code, i.e. >strong< instead of <strong> and so on. Is
this a problem with the editor or something else? Does .Net convert it? I
had to disable page validate request...
|
by: Olivier Ishacian |
last post by:
XMLmind XML Editor V3.0 Patch 1 can be downloaded from
http://www.xmlmind.com/xmleditor/download.shtml
_____________________________________________
V3.0 Patch 1 (December 2, 2005)
Enhancements:
~~~~~~~~~~~~~
|
by: Xah Lee |
last post by:
Of interest:
• The Semicolon Wars, by Brian Hayes. 2006.
http://www.americanscientist.org/template/AssetDetail/assetid/51982
in conjunction to this article, i recommend:
• Software Needs Philosophers, by Steve Yegge, 2006
http://xahlee.org/Periodic_dosage_dir/_p/software_phil.html
|
by: Catalyst159 |
last post by:
I have a form which is used to calculate residential Floor Area Ratio (FAR). The form is structured into seven parts as follows:
Part A: Maximum FAR and Floor Area:
Part B: Gross Floor Area of the main floors of the main house:
Part C: Gross Floor Area of the basement or cellar:
Part D: Gross Floor Area of the attic:
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |