[Help] Login system

General discussions related to php

Moderators: macek, egami, gesf

Post Reply
MarioParty
New php-forum User
New php-forum User
Posts: 42
Joined: Tue Aug 02, 2011 2:52 am

Re: [Help] Login system

Post by MarioParty » Sat Feb 08, 2014 9:42 am

Nothing wrong, you just need to check that the variable has been defined, otherwise PHP can't access it.

Replace

Code: Select all

if ($_POST['submit']) {
with

Code: Select all

if (isset($POST['submit'])) {

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests