Content of HTML editor
Hello,
I want to pass the content of an HTML editor text box to another .php file in the URL, how can I do this?
Thank you
Hello,
I want to pass the content of an HTML editor text box to another .php file in the URL, how can I do this?
Thank you
set the forms method to use GET, a form that uses the get method passes the form information as querystring variables.
Hi!
What code needs to be entered into the action page in order to receive the content?
I tried:
<?php $_GET["editorField"]; ?>
and
<?php $_GET["newsletter2"]; ?>
but neither worked... am I close?
Thank you!
johna1964
no way for me to answer that without seeing the form
Jason,
Here are the two pages.
Thank you for taking a look at this.
johna1964
the action of the form is admin_preview_newsletter.php and the name of the HTML Editor instance is "editorField"
so on the admin_preview_newsletter.php page, you could use this code to write the HTML Editor content:
<?php echo $_GET["editorField"]; ?>
Jason,
Thank you - this works!
If you looked at the code I entered, I did not put echo in.
I need the echo!
johna
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.