LadyYepperz
24.***.***.***PHP "if" Error
please help... im having trouble with a very simple line of code.Parse error: syntax error, unexpected T_IF on line 3
PHP code:
<?php
$s=$rows['stars']
if ($s==1)
echo "<image src='images/rate1.gif' height='27' width='58' align='right'>"
elseif ($s==2)
echo "<image src='images/rate2.gif' height='27' width='58' align='right'>"
else
echo "<image src='images/rate0.gif' height='27' width='58' align='right'>"
?>
i dont see anything wrong, and ive no more hair to pull out... please help!