Variable Problem
Posted: Mon May 16, 2011 10:55 pm
Hey
I have a problem, I am using the following code
I have a problem, I am using the following code
[line 141]if($Availability==1) { $Price = $row['Price']; $Price = echo "ONLY £$Price"; } else { $Price = echo '<img src="../img/sold.png" width="163" height="122">'; }I am using this code and i am getting the following error
Parse error: syntax error, unexpected T_ECHO in /home/a5872994/public_html/pages/stocklist.php on line 143