Hi
I have two pages
------------
1)
A form with a fckeditor and a submit button.
2)
A page which receives the value from the fckeditor and emails out to addresses in a column in a table
------------
For the rich text box its default value is a message saying: Click the link below to download the latest newsletter and a link which get the file path from a table in the db. Users can then add a message above the link to the newsletter. Now this all works fine except for the link, (and any other links I make using the rich text box), firstly when the form is posted a \ is placed before the , ie <a href\url.com.au\>Link</a> which renders the link useless.
Someone suggested stripslashes, which I put on the second page where it receives the variable; $_POST[msg], this did remove the slashes however I then had a problem with spaces in the file path for the newsletter, ie; url.com/testfile.pdf would be sent instead of url.com/test file.pdf which it should be.
Then someone suggested urlencode however that encoded the entire message, so they got Click%20the%20link%20below
If anyone could help I would be most grateful, I want to be able to send these default links from the rich text box as well as allow users to add links in the rich text box.
I have two pages
------------
1)
A form with a fckeditor and a submit button.
2)
A page which receives the value from the fckeditor and emails out to addresses in a column in a table
------------
For the rich text box its default value is a message saying: Click the link below to download the latest newsletter and a link which get the file path from a table in the db. Users can then add a message above the link to the newsletter. Now this all works fine except for the link, (and any other links I make using the rich text box), firstly when the form is posted a \ is placed before the , ie <a href\url.com.au\>Link</a> which renders the link useless.
Someone suggested stripslashes, which I put on the second page where it receives the variable; $_POST[msg], this did remove the slashes however I then had a problem with spaces in the file path for the newsletter, ie; url.com/testfile.pdf would be sent instead of url.com/test file.pdf which it should be.
Then someone suggested urlencode however that encoded the entire message, so they got Click%20the%20link%20below
If anyone could help I would be most grateful, I want to be able to send these default links from the rich text box as well as allow users to add links in the rich text box.