danielleDee
Programmer
Hi
I have the following code stored in FIELD2 in a database (mySQL):
<table width="100%" height="200px">
<tr>
<td><?php echo($display["FIELD1"]); ?></td>
<td> </td>
</tr>
</table>
In my script I have the following code:
<?php
while ($display = mysql_fetch_array($data)) {
$FIELD1=$display["FIELD1"];
$FIELD2=$display["FIELD2"];
echo $FIELD2;
}?>
When I print $FIELD1 individually it displays correctly, but when I print FIELD1 within FIELD2, FIELD2 displays correctly but $FIELD1 does not execute. What am I doing wrong?
Thnx
I have the following code stored in FIELD2 in a database (mySQL):
<table width="100%" height="200px">
<tr>
<td><?php echo($display["FIELD1"]); ?></td>
<td> </td>
</tr>
</table>
In my script I have the following code:
<?php
while ($display = mysql_fetch_array($data)) {
$FIELD1=$display["FIELD1"];
$FIELD2=$display["FIELD2"];
echo $FIELD2;
}?>
When I print $FIELD1 individually it displays correctly, but when I print FIELD1 within FIELD2, FIELD2 displays correctly but $FIELD1 does not execute. What am I doing wrong?
Thnx