Skip to content

Instantly share code, notes, and snippets.

View JimboFromLimbo's full-sized avatar
🍞
Getting that bread

James Dinnes JimboFromLimbo

🍞
Getting that bread
View GitHub Profile
var required1 = false;
var required2 = false;
var required3 = false;
var required4 = false;
$('.button').click(function()
{
if ($('.required-details').css('display') !== 'none')
{
($('.required-personal').each(function(index, e)
<?php
/* begin session */
session_start();
/*first check that both the username,password and form token have been sent */
if(!isset($_POST['user_login'], $_POST['pass']))
{
return 'please enter a valid username and password';