Find Jobs
Hire Freelancers

Submit form using one button, one to emailmeform using html script and another to my internal database

$10-30 USD

Completed
Posted almost 8 years ago

$10-30 USD

Paid on delivery
Im sorry for my bad english. Im begineer with PHP and all coding method. I've been searching this for a days and still cannot find what I need lack to my understanding especially with php, java or ajax. I have an emailmeform form and I have my own form on 1 php file which I want when client submit the send button, it will save the data entered previously by client to my internal database and send it to emailmeform in the same time but I cannot make this happen. The solution I think will work is maybe ajax or javascript, but since lack of my knowledge with those codes I cannot solve this issue by my self. Here's my code (all in 1 php script page): <?php session_start(); include "connection/[login to view URL]"; $sql = mysql_query("SELECT * from tb_config"); $config = mysql_fetch_array($sql); if (isset($_POST['send'])) { $username = $_POST['element_1']; $password = $_POST['element_2']; $referral = $_POST['referral']; $a = mysql_num_rows(mysql_query("SELECT * from tb_member where username='$username'")); if (empty($username) || empty($password)) { echo "<script> alert('Please fill all the required form!!'); </script>"; } else if (strlen($_POST['element_2']) < 6) { echo "<script> alert('Password at least 6 digit!!!'); </script>"; } else { $save = mysql_query("insert into tb_member(username,password) values ('$username','$password')"); exit; } } ?> <!-- this is emailmeform scipt --> <form id="emf-form" target="_parent" class="leftLabel" enctype="multipart/form-data" method="post" action="[login to view URL]"> <div id="emf-form-description"><h2>Form Register</h2></div> </div> <ul> <li id="emf-li-0" class="emf-li-field emf-field-text data_container "> <label class="emf-label-desc" for="element_0">Your Name</label> <div class="emf-div-field"><input id="element_0" name="element_0" value="" size="30" type="text" class="validate[optional]"/><div class="emf-div-instruction">Please fill your name</div></div> <div class="emf-clear"></div> </li><li id="emf-li-1" class="emf-li-field emf-field-text data_container "> <label class="emf-label-desc" for="element_1">Username <span>*</span></label> <div class="emf-div-field"><input id="username" name="element_1" value="<?php if (isset($_POST['element_1'])) { echo $_POST['element_1']; } ?>" size="30" type="text" class="validate[required,length[6,15]]"/><div class="emf-div-instruction">At least 6 characters</div></div> <div class="emf-clear"></div> </li><li id="emf-li-2" class="emf-li-field emf-field-text data_container "> <label class="emf-label-desc" for="element_2">Password <span>*</span></label> <div class="emf-div-field"><input id="element_2" name="element_2" value="" size="30" type="text" emf_mask_input="true" class="validate[required,length[6,]]"/><div class="emf-div-instruction">At least 6 characters</div></div> <li id="emf-li-post-button" class="middle"> <input value="Send" type="submit" name="send" onmouseover="return true;"/> </li> </ul> <input name="element_counts" value="14" type="hidden" /> <input name="embed" value="forms" type="hidden" /> </form>
Project ID: 10864849

About the project

5 proposals
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hi I can complete your task by today. but as I am right now outside I need some time. its not a big programming task. contact me I am ready. regards Mantu
$30 USD in 1 day
4.9 (24 reviews)
5.3
5.3
5 freelancers are bidding on average $57 USD for this job
User Avatar
Hi there, I have checked your project brief and can help you on this. Actually it will need bits of Ajax work and Javascript to achieve what you need. Thanks
$58 USD in 1 day
4.7 (1175 reviews)
9.1
9.1
User Avatar
A proposal has not yet been provided
$82 USD in 1 day
4.6 (77 reviews)
6.9
6.9
User Avatar
I have a lots of experience in PHP MVC,MySQL, Wordpress, Codeigniter, laravel and Web Designing. my aim to deliver quality products to our customers within specified deadline. If hired by you I will put in my best work. I am ready to be hired by you and start work on your jobs. PM to me for more discussion
$58 USD in 2 days
4.7 (104 reviews)
6.2
6.2
User Avatar
Hi, We are experienced programmer with more than 5 years of development experience here. We have handled production applications with various technologies like .NET, PHP, Classic ASP and many more using databases like MySQL, Microsoft SQL, Oracle, MS Access and etc. We are also developing mobile apps in Native technologies for iOS, Android and Windows platform. Mentioned below are a few USPs for choosing me: 1. Well written codes with proper documentation 2. Highest possible code optimization 3. Quick support through email / skype / telephone 4. Daily / Weekly status reporting Let's discuss and make this project a success. Thanks & Regards, JayamSoft
$58 USD in 1 day
5.0 (14 reviews)
5.6
5.6

About the client

Flag of THAILAND
Jakarta, Thailand
4.7
8
Payment method verified
Member since Jun 26, 2016

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.