chrismassey
Programmer
I have a string which contains part of some HTML code, however it contains a scalar variable. If I don't wrap the HTML code in a string I recieve an Error 500. But because its a string, it doesn't print the value of the scalar, but instead print the scalar itself. Here is one of my strings...
As you can see there is a $one which has a value of 99999
But there printed output isn't "99999". its "$one".
So, how do I go about printing the value of $one instead of "$one"
Thanks, Chris
Code:
<tr>
<td width="20%" align="center"><font face="Arial" size="2" color="#008080"><b>$one</b></font></td>
<td width="20%" align="center"><font size="2" face="Arial">Interview Techniques</font></td>
<td width="20%" align="center"><font size="2" face="Arial">FY 1,2 <font color="#008080">|</font> ST 1,2,3,4 <font color="#008080">|</font> SPR <font color="#008080">|</font> STG <font color="#008080">|</font> GPT</font></td>
<td width="20%" align="center"><font color="#336600"><img border="0" src="../TriBulletGre.bmp" width="14" height="14"></font><font size="2" face="Arial">
<font color="#336600">Available</font>
<br>
Cost: £169.99
</font></td>
</tr>'
As you can see there is a $one which has a value of 99999
But there printed output isn't "99999". its "$one".
So, how do I go about printing the value of $one instead of "$one"
Thanks, Chris