Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
code problem inside email
Old 06-05-2005, 12:12 PM code problem inside email
Junior Talker

Posts: 4
Trades: 0
Hi all, I have an online php form that emails the text in the "message" input box. But I want to include a pictures as well as text as the form supports sending html. So im putting this in the input box

<img src="http://www.xxxxxx.co.uk/img/suggestbut.gif" width="148" height="25">


I then get the email and the pic does not show up and in the code its looking like this

<img src=\"http://www.xxxxxx.co.uk/img/suggestbut.gif\" width=\"148\" height=\"25\">

so because of the \ at the end of the url it cant find the pic.


How do I code this to work?

Thanks in advance

Lee
ld0121 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-05-2005, 04:29 PM
lizard dude's Avatar
Super Talker

Posts: 119
Location: France
Trades: 0
Well you have to be sure you puted the <html>before and </html> after.
__________________
forum------->
Please login or register to view this content. Registration is FREE
, for people who wants to have a good time ;)
website------>
Please login or register to view this content. Registration is FREE
(might be in construction :D)
Hope you have a great time and that my post is helpfull ;)
lizard dude is offline
Reply With Quote
View Public Profile
 
Old 06-05-2005, 04:33 PM
0beron's Avatar
Defies a Status

Posts: 1,832
Location: Somewhere else entirely
Trades: 0
Do you have access to PHP or some other serverside language? PHP has a stripslashes() function that will solve exactly this problem.
__________________
UPDATE 0beron SET talkupation = talkupation + lots WHERE post = 'helpful';

Please login or register to view this content. Registration is FREE
(aka MSN handwriting for forums)
0beron is offline
Reply With Quote
View Public Profile Visit 0beron's homepage!
 
Reply     « Reply to code problem inside email
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.21038 seconds with 12 queries