HELP: echo not outputing variable
Posted: Fri Oct 24, 2003 8:35 am
Hi there people. I just can't get this bit of code to work. The variables are definatly set, as they work elsewhere in the script. Here is the section causing me problems. It outputs $artist2 and %listid2 insted of the variables.
Any help greatly appreciate!
Matt
Code: Select all
<? if ($list_no >= 2)
echo'<tr>
<td colspan="2"> <span class=".aria_text">
<input type="checkbox" name="list_id" value="$listid2" checked>
Receive the $artist2 newsletter</span></td>
</tr>'; ?>Any help greatly appreciate!
Matt