$newprice = 100;
<?php echo "Rs." .$newprice-= ."<div id = 'discountamt'></div>";
In the above code i trying to subtract two values. One is $newprice and second is value of discountamt which is comes from ajax.
when i concatenate $newprice with this <div id = 'discountamt'></div> using concatenate operator (.). It is showing error.
I tried this code in which i used space between them.....but not working
<?php echo "Rs." .$newprice-= ''."<div id = 'discountamt'></div>";
i want
100 (newprice) - 10 (discountamt)
.. output should be 90