Jump to content

Adding symbols


Recommended Posts

I've got two pages that display a salary in a different way. The database for salary is INT so there are no $ symbols. How do I add that so that it's always displayed?The two ways the field is displayed are:

echo "<td>" . $row['salary'] . "</td>";


PRINT "<b>Salary: </b> "; print $row["salary"];


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...