Background:
* This data is being pulled from an old Dbase3 table.
* The data will print with a simple echo statement ie: echo $string;
* it requires a few if() statements to verify that data exists before printing..
* the data is being printed in a table.
here is some of the code:
if ($rna)
{
echo "<table border='0'>";
echo "<tr><td><strong>Install notes:</strong>";
print "<br>Note #$rna - $rnta";
if ($rnb) print "<br>Note: #$rnb - $rntb";
if ($rnc) print "<br>Note: #$rnc - $rntc";
echo "</td></tr></table>";
}
the 3 letter variables (ie: $rna) are printing ok. they are only numbers but the 4 letter variables (ie: $rnta) are not. I can name them whatever and it does not change anything. The string lengths are aprox 50 chars each.
I am also having the same issue with another section. Also inside a table.
echo "<tr VALIGN='TOP'>
<form action='http://www.cartserver.com/sc/cart.cgi' onSubmit='javascript:pageTracker._linkByPost(this)' method=POST>
<td width='83'><strong>$fstag</strong></td>
<td>$fpd</td><td align='right' width='65'><strong>$fpr</strong></td>
<td valign='middle' width='30'><input type='TEXT' name='op1' value='1' size='2' /></td>
<input type='hidden' name='item' value='s-3166^$fstag^$fpd^$fpr^op1^' />
<td valign='middle' width='64'><input border='0' type='image' name='add' src='/images/addtocart.gif' width='93' height ='24' /></td></form>
</tr>";
Now, there are 2 of each of the above lists for both front and back and if there is only one available the code works.
I can provide further info if needed. me ->
Anybody have any clue? I think its the variable data but not sure.
I am VERY new to PHP and am learning as I program.
Thanks