Login Form

Login Form

Hi Everyone,

 Please excuse me as I am new to the XDK. I saw in the sample files the loginview template. However I am looking for a bit more. I would like if possible to see a full example with the code to do the actual login and registration. I have never written this type of code so I am unsure of what it takes to create a fully working login / registration page that will validate against a mysql database.

All help is appreciated.

Jeff

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Within the XDK, App Preview(Test) or the build options(Build), you are required to include a reference to xhr.js script in the head to allow for AJAX post and get functions to work.

<head>
.....
<script src="xhr.js"></script>
</head>
.......
 

Here are a few examples of AJAX-MySQL related applications:
1. http://www.91weblessons.com/php-ajax-login-validation-tutorial/
2. http://www.w3schools.com/php/php_ajax_database.asp
3. http://www.tizag.com/ajaxTutorial/ajax-mysql-database.php

Thank you for taking the time to reply. I will be  checking these out !

Jeff

Leave a Comment

Please sign in to add a comment. Not a member? Join today