here is the html:
Long
Short
Closed Trade
here is the php:
if ($_POST[“longshort”] == “Long”)
{
$buy = “bought”;
} else {
$buy = “shorted”;
} else {
$buy = “closed trade”;
}
I’m getting this error:
Parse error: syntax error, unexpected T_ELSE in /var/www/vhosts/stockaviator.com/httpdocs/wp-content/themes/kleo/kleo/testing.php on line 60
HELP!!! thanks!