|
|
display dollar sign in php - PHP
|
Views : 2011
|
|
Tagged in : PHP
|
|
|
Report This Scrap as Inappropriate We request you to choose the appropriate categroy and subcategory that suits your
objectionable concern about the scrap, So that our team can review and find out whether it violates our Guidelines or the
scrap is not suitable for all viewers.
|
display dollar sign in php:
Normally if you use '$' in php it considers as a variable declaration. In case if you want to display it as a string then use '\' in front of the dollar sign as,
<?php echo " Dollar Sign - \$"; ?>
results as,
Dollar Sign - $ |
|
By Ramya, On - 2010-11-09 |
|
|
|