Jump to content

Adding symbols


unplugged_web
 Share

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>";

and

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

thanks

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
 Share

×
×
  • Create New...