My code is giving me unexpected t variable errors around line 42, which is the if part of the statement. What am I doing wrong?
Code:
if($_POST['Title'] != "")
{
$title_In = cleanvalue($_POST['Title']);
$serialnum_In = cleanvalue($_POST['SerialNum']);
$ImageURL_In = cleanvalue($_POST['ImageURL']);
if (is_numeric($_POST['Price']))
{
$price_In = $_POST['Price'];
}
if (is_numeric($_POST['Shipping1']))
{
$shipping1_In = $_POST['Shipping1'];
}
if (is_numeric($_POST['Shipping2']))
{
$shipping2_In = $_POST['Shipping2'];
}
}
else
{
$Type_In=cleanvalue($_POST['type']);
if ($Type_In=='blood orange')