Here's the instructions: If true, set $price variable to contain the concatenation of a text string (“SALE PRICE:”) and the discounted price calculated by multiplying the regular price by 90%. Concatenated with a <BR />
and a text string (“REG. PRICE:”) and the regular price of the item.
Here's what I've tried:
$price = echo ('SALE PRICE: $' . $discount . 'REG. PRICE: $' . $item->item_cost);
And all I get is "Parse error: syntax error, unexpected T_ECHO"
I've tried googling when to use single and double quotes, but I feel like I'm just interchanging them and not making much of a difference. I saw another thread that was helpful in explaining when to use each type of quote and periods, but I don't think I applied the knowledge properly because I still kept getting an error. Any advice would help.