Find Jobs
Hire Freelancers

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

$10-30 USD

Concluído
Publicado há quase 8 anos

$10-30 USD

Pago na entrega
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>
ID do Projeto: 10864849

Sobre o projeto

5 propostas
Projeto remoto
Ativo há 8 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
Concedido a:
Avatar do Usuário
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 em 1 dia
4,9 (24 avaliações)
5,3
5,3
5 freelancers estão ofertando em média $57 USD for esse trabalho
Avatar do Usuário
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 em 1 dia
4,7 (1175 avaliações)
9,1
9,1
Avatar do Usuário
A proposal has not yet been provided
$82 USD em 1 dia
4,6 (77 avaliações)
6,9
6,9
Avatar do Usuário
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 em 2 dias
4,7 (104 avaliações)
6,2
6,2
Avatar do Usuário
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 em 1 dia
5,0 (14 avaliações)
5,6
5,6

Sobre o cliente

Bandeira do(a) THAILAND
Jakarta, Thailand
4,7
8
Método de pagamento verificado
Membro desde jun. 26, 2016

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.