Jump to content

php-editor

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

php-editor's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. 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.
×
×
  • 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.