Hi guys am trying to get a project finnished and am not getting much joy from the code I am using code below
//set shipping address same as address
if(!$ship_name&&!$ship_1st_add&&!$ship_2nd_add&&!$ship_city&&!$ship_state&&!$ship_zip&&!$ship_country)
{
$ship_name = $name;
$ship_1st_add = $1st_add; //line 23
$ship_2nd_add = $2nd_add;
$ship_city = $city;
$ship_state = $state;
$ship_zip = $zip;
$ship_country = $country;
}
and this is generating the error message below
Parse error: parse error, expecting `T_VARIABLE' or `'$'' in order_fns.php on line 23
Any ideas?
//set shipping address same as address
if(!$ship_name&&!$ship_1st_add&&!$ship_2nd_add&&!$ship_city&&!$ship_state&&!$ship_zip&&!$ship_country)
{
$ship_name = $name;
$ship_1st_add = $1st_add; //line 23
$ship_2nd_add = $2nd_add;
$ship_city = $city;
$ship_state = $state;
$ship_zip = $zip;
$ship_country = $country;
}
and this is generating the error message below
Parse error: parse error, expecting `T_VARIABLE' or `'$'' in order_fns.php on line 23
Any ideas?