Jump to content

[SOLVED] Whats up with this?


Dethman

Recommended Posts

Hey guys I got this error dont know why....

 

 

Parse error: syntax error, unexpected T_ELSE in /home2/psionic/public_html/vault.php on line 47

 

This is the PHP I have commented the Line 47:

 

if($_POST['bank_action']){
$vault_tax=0.8;
$amt=floor($_POST['amountB']);
$amt_minus_tax=($amt-$vault_tax);
if($psi_onhand - $amt >=0){
if($vault_space_left + $amt_minus_tax >=0){
deposit($amt,$id,$amt_minus_tax);
}

}
else{
header("LOCATION: vault.php?strErr=STORAGE SUMMARY<BR> You Need Enouph Space to Deposit ".number_format($amt)." Psi");
}
//
///LINE 47 Below:
//
else{
header("LOCATION: vault.php?strErr=STORAGE SUMMARY<BR> You Do Not ".number_format($amt)." Psi To Deposit");
}


}

 

 

Any help would be cool....

 

Thanks Brian Flores AKA Dethman

Link to comment
https://forums.phpfreaks.com/topic/115964-solved-whats-up-with-this/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.