simonwraight
02-15-2008, 09:51 AM
I am having a strange problem where the pound sign is not showing up in a printed out table. The funny thing is I have had it working before using chr(163) but this does not seem to work. here is my code.
print "<tr align='center'><td><a href='reservation.php?roomID=" . $row['roomID'] . "&arriveDate=$arriveDate&numGuests=$numGuests&departDate=$departDate&totalCost=$totalCost'>Reserve</td><td>" . $row['name'] . "</a></td><td>" . $row['description'] . "</td><td>" . $row['maxOccupants'] . "</td><td>" .chr(163) $row['rate'] . "</td><td>" .chr(163) $row['rate'] * $duration."</td></tr>";
In the past it has even worked just by printing "£" but not today ????
print "<tr align='center'><td><a href='reservation.php?roomID=" . $row['roomID'] . "&arriveDate=$arriveDate&numGuests=$numGuests&departDate=$departDate&totalCost=$totalCost'>Reserve</td><td>" . $row['name'] . "</a></td><td>" . $row['description'] . "</td><td>" . $row['maxOccupants'] . "</td><td>" .chr(163) $row['rate'] . "</td><td>" .chr(163) $row['rate'] * $duration."</td></tr>";
In the past it has even worked just by printing "£" but not today ????