close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Content of HTML editor

Thread began 2/21/2012 12:36 pm by tops | Last modified 2/21/2012 3:42 pm by Jason Byrnes | 722 views | 1 replies |

tops

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

Sign in to reply to this post

Jason ByrnesWebAssist

set the forms method to use GET, a form that uses the get method passes the form information as querystring variables.

Sign in to reply to this post

johna1964

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

Sign in to reply to this post

Jason ByrnesWebAssist

no way for me to answer that without seeing the form

Sign in to reply to this post

johna1964

Jason,

Here are the two pages.

Thank you for taking a look at this.

johna1964

Attached Files
New Folder.zip
Sign in to reply to this post

Jason ByrnesWebAssist

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:
<?php echo $_GET["editorField"]; ?>
Sign in to reply to this post

johna1964

Jason,

Thank you - this works!

If you looked at the code I entered, I did not put echo in.

I need the echo!

johna

Sign in to reply to this post

Jason ByrnesWebAssist

yup, you need the echo.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

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.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...