<html> <head> <title>Contact form</title> <script type="text/javascript" src="jquery-1.3.2.min.js"></script> <script type="text/javascript" src="http://api.recaptcha.net/js/recaptcha_ajax.js"></script> <script type="text/javascript"> $(document).ready(function() { var RecaptchaOptions = { theme : 'custom' }; Recaptcha.create('your public key', 'recaptcha_image', RecaptchaOptions); Recaptcha.focus_response_field(); $('#submit_button').click(function() { $.ajax({ type: 'POST', url: 'coustomer_rgistration.php', data: $('form#myform').serialize(), dataType: 'json', beforeSend: function() { var resp_field = $('#recaptcha_response_field').val(); var name = $('#name').val(); var email = $('#email').val(); var pass = $('#pass').val(); var add = $('#add').val(); var zip_code = $('#zip_code').val(); var l_number = $('#l_number').val(); var m_number = $('#m_number').val(); var city = $('#city').val(); var state = $('#state').val(); var country = $('#country').val(); if (!resp_field[0] || !name[0] || !email[0] || !pass[0] || !zip_code[0] || !l_number[0] || !m_number[0] …

Member Avatar
Member Avatar
+0 forum 5

hi, iam new at php and iam doing a tutorial from youtube. I am keep getting 2 errors 1st error is "Column count doesn't match value count at row 1" 2nd error is nothing shows up when i do <?php echo $error_message; ?> full code of registration file <?php /* when a user login it give a vaiable. Its for testing if user login or logout*/ session_start(); include("include/connect.php"); include("include/html_code.php"); //if they hit sumbit button, than check for errors. if(isset($_POST['submit'])) { $error = array(); //if user filed is empty, store error //else if = every thing is ok if(empty($_POST['username'])) { $error[] …

Member Avatar
Member Avatar
+0 forum 1

I am developing a small online shopping website. My question is: Do I still have to use session if I wont allow customers to add items to cart when they are not registered? Meaning, once they want to order, they will have to register and login to their account Thank you!

Member Avatar
Member Avatar
+0 forum 4

Hi, I am using PHPBB for my forum. My intention is if someone registers to my website, he/she will be login to forum as well, automatically. That means no need to register twice to use the forum. Is there a way forward to achieve this? Will greatly appreciate your suggestions. Thanks

Member Avatar
Member Avatar
+0 forum 5

Hello, I've always liked coding and lately I've learned a little but more of it. Now I also understand sql and db a little more. My problem is that my register.php file seems to give me a notice. Notice: Undefined index: op in C:\wamp\www\hacks4all.wapzan.com\registration\register.php on line 11 and Notice: Undefined index: op in C:\wamp\www\hacks4all.wapzan.com\registration\register.php on line 55 the code is the following: [CODE] <?php // dbConfig.php is a file that contains your // database connection information. This // tutorial assumes a connection is made from // this existing file. include ("dbConfig.php"); //Input vaildation and the dbase code if ( $_GET["op"] …

Member Avatar
Member Avatar
+0 forum 1

The End.