Edit, after further testing it seems the issue lies in defining the Select box form variables
Removing
$A = $REQUEST['A'];
$F = $REQUEST['F'];
$M = $REQUEST['M'];
$P = $REQUEST['P'];
$G = $REQUEST['G'];
$U = $REQUEST['U'];
$T = $REQUEST['T'];
$N = $REQUEST['N'];
$H = $REQUEST['H'];
$L = $REQUEST['L'];
$I = $REQUEST['I'];
$V = $REQUEST['V'];
$4 = $REQUEST['4'];
$S = $REQUEST['S'];
$K = $REQUEST['K'];
$O = $REQUEST['O'];
$O1 = $REQUEST['O1'];
$O2 = $REQUEST['O2'];
$O3 = $REQUEST['O3'];
$E = $REQUEST['E'];
$Y = $_REQUEST['Y'];
from the code allowed the page to be displayed correctly, and took me to the Update Complete echo, obviously however, nothing was updated since those variables aren't defined in the forum. I think I might have a solution if I change the select boxes to text.
Thank you for your response. I made the changes you suggested, but I'm still having the blank white screen. I've narrowed down the cause of the issue to be within this code, I just can't figure out what it is.
function update(){
//Connecting to database
$connect = mysql_connect("host", "name", "pass");
if(!$connect){
die(mysql_error());
}
//Selecting database
$select_db = mysql_select_db("unrest", $connect);
if(!$select_db){
die(mysql_error());
}
//Collect your info from form
$Login = $_REQUEST['Login'];
$Password = $_REQUEST['Password'];
$A = $_REQUEST['A'];
$F = $_REQUEST['F'];
$M = $_REQUEST['M'];
$P = $_REQUEST['P'];
$G = $_REQUEST['G'];
$U = $_REQUEST['U'];
$T = $_REQUEST['T'];
$N = $_REQUEST['N'];
$H = $_REQUEST['H'];
$L = $_REQUEST['L'];
$I = $_REQUEST['I'];
$V = $_REQUEST['V'];
$4 = $_REQUEST['4'];
$S = $_REQUEST['S'];
$K = $_REQUEST['K'];
$O = $_REQUEST['O'];
$O1 = $_REQUEST['O1'];
$O2 = $_REQUEST['O2'];
$O3 = $_REQUEST['O3'];
$E = $_REQUEST['E'];
$Y = $_REQUEST['Y'];
//Check form
if(empty($Login)){
die("Please enter your Login Name!<br>");
}
if(empty($Password)){
die("Please enter your password!<br>");
}
$login_check = mysql_query("SELECT Login FROM Guild WHERE Login='$Login'");
$do_login_check = mysql_num_rows($login_check);
$pass_check = mysql_query("SELECT Password FROM Guild WHERE Login='$Login' AND Password='$Password'");
$do_pass_check = mysql_num_rows($pass_check);
//Check DB
if($do_login_check = 0){
die("Login Name not found!");
}
if($do_pass_check = 0){
die("Password is wrong!");
}
//Update Query
$update = mysql_query("UPDATE Guild SET A='$A', F='$F', M='$M', P='$P', G='$G', U='$U', T='$T', N='$N', H='$H', L='$L', I='$I', V='$V', 4='$4', S='$S', K='$K', O='$O', O1='$O1', O2='$O2', O3='$O3', E='$E', Y='$Y' WHERE Login='$Login' AND Password='$Password'");
if(!$update){
die(mysql_error());
}
echo "<body bgcolor=\"#CCCCCC\"><h1>Update Complete</h1>";
}