Jump to content

Recommended Posts

Hello
I've got an email script. Its .php. I added a text field (its name is 'Other') in form (contact_form.php - file where visitor add info). Now when i type any thing in that text field, it appear close to the text of comments (comments is a text area). I want to appear that "other' text box text in a seperate row in the mail which i'll recive. That script has a file fcf_parse.php which is the file responsible for the data in email (which'll be sent to me). I also modified that file as
[b]Before:[/b]
[code]$email_message .= stripslashes($_POST['Comments']);[/code]

[b]Now:[/b]
[code]$email_message .= stripslashes($_POST['Comments']);
$email_message .= stripslashes($_POST['Other']);[/code]

Now plz tell me if i change that text field to drop-down, then what'll be the code that i've to replace for "stripslashes" or it'll remain same for all. I'm new in php that why asking this. If any one need that files (script), i can also provide that but plz help me.
Link to comment
https://forums.phpfreaks.com/topic/24807-email-system-help-php/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.