Hi,
I am trying to create a "create user" page. It has a form called "createuser" which has a button on it called "Submit" with a value of "Create User".
I have applied the following code (amongst a lot else):
<?php include("../include/gshsenglish_com_admin.php"); ?>
<?php
// Main Code - Verifies the form data, and inserts into
// the users table in the Database
if($HTTP_POST_VARS['Submit']=='Create User'){
$error = verify_data($HTTP_POST_VARS);
if ($error == "")
$success = "User inserted successfully";
}
When I load the page I get a message telling me:
Notice: Undefined index: Submit in C:\Inetpub\wwwroot\gshsenglish_com\admin\TMPatjbu3ctto.php on line 5
It doesn't seem to have a value for "Submit"... Can anyone help me? Thanks in advance