Jump to content

Search the Community

Showing results for tags 'contact form help please'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to PHP Freaks
    • Announcements
    • Introductions
  • PHP Coding
    • PHP Coding Help
    • Regex Help
    • Third Party Scripts
    • FAQ/Code Snippet Repository
  • SQL / Database
    • MySQL Help
    • PostgreSQL
    • Microsoft SQL - MSSQL
    • Other RDBMS and SQL dialects
  • Client Side
    • HTML Help
    • CSS Help
    • Javascript Help
    • Other
  • Applications and Frameworks
    • Applications
    • Frameworks
    • Other Libraries
  • Web Server Administration
    • PHP Installation and Configuration
    • Linux
    • Apache HTTP Server
    • Microsoft IIS
    • Other Web Server Software
  • Other
    • Application Design
    • Other Programming Languages
    • Editor Help (PhpStorm, VS Code, etc)
    • Website Critique
    • Beta Test Your Stuff!
  • Freelance, Contracts, Employment, etc.
    • Services Offered
    • Job Offerings
  • General Discussion
    • PHPFreaks.com Website Feedback
    • Miscellaneous

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Age


Donation Link

Found 1 result

  1. Hi Peeps, I have tried but am trying to get a website up and working and am stumbling with the php side of things. Please help. html <form id="contacts-form" name="contacts-form" action="contact1.php" method="post" > <fieldset> <div class="field"> <label>Your Name:</label> <input type="text" class="input" name="name" id="name"> </div> <div class="field"> <label>Your E-mail:</label> <input type="text" class="input" name="email" id="email"> </div> <div class="field"> <label>Your Website:</label> <input type="text" class="input" name="website" id="website"> </div> <div class="field"> <label>Your Message:</label> <textarea name="textarea" id="textarea" cols="" rows=""></textarea> </div> <div class="alignright"><a href="contact-us.html" onclick="document.getElementById('contacts-form').submit()"><strong>Send Your Message!</strong></a></div> </fieldset> </form> php is.. <?php $name = $_POST ['name']; $website = $_POST ['website']; $email = $_POST ['email']; $message = $_POST ['textarea']; if(!$name || !$website || !$email || !$textarea) <form method='post' action='contact1.php'> Name: <br /><input name='name' type='text' value='$name' /><br /><br /> Company: <br /><input name='website' type='text' value='$website' /><br /><br /> EMail: <br /><input name='email' type='text' value='$email' /><br /><br /> Message:<br /> <textarea name='textarea' cols='55' rows='8'>$textarea</textarea><br /><br /> <input type='submit' value='Send' /> </form> <p>All fields are required</p> $send_to = "info@cropredyvillage.info"; // change to your email mail($send_to, "Name: $name: $website" , $textarea, "From: $email"); echo "Thank you for your feedback"; ?> form just resets and does not send a mail. I really hope you can help. J
×
×
  • 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.