seany123 Posted June 7, 2009 Share Posted June 7, 2009 i have this line of code: $msg .= "You have transferred <b>\"$english_format_number = number_format($Pamount);\"</b> points to <b>$username</b>.<p />"; but for some reason its not working. Link to comment https://forums.phpfreaks.com/topic/161300-solved-using-english_format_number-number_format/ Share on other sites More sharing options...
Daniel0 Posted June 7, 2009 Share Posted June 7, 2009 $msg .= "You have transferred <b>\"" . number_format($Pamount) . "\"</b> points to <b>$username</b>.<p />"; Like that? Link to comment https://forums.phpfreaks.com/topic/161300-solved-using-english_format_number-number_format/#findComment-851153 Share on other sites More sharing options...
seany123 Posted June 7, 2009 Author Share Posted June 7, 2009 $msg .= "You have transferred <b>\"" . number_format($Pamount) . "\"</b> points to <b>$username</b>.<p />"; Like that? with that its echoing for example: "2,000" with the quotes. Link to comment https://forums.phpfreaks.com/topic/161300-solved-using-english_format_number-number_format/#findComment-851156 Share on other sites More sharing options...
Daniel0 Posted June 7, 2009 Share Posted June 7, 2009 Well, then what do you want? Link to comment https://forums.phpfreaks.com/topic/161300-solved-using-english_format_number-number_format/#findComment-851157 Share on other sites More sharing options...
seany123 Posted June 7, 2009 Author Share Posted June 7, 2009 for it to echo the number without the ""s Link to comment https://forums.phpfreaks.com/topic/161300-solved-using-english_format_number-number_format/#findComment-851159 Share on other sites More sharing options...
Daniel0 Posted June 7, 2009 Share Posted June 7, 2009 Well, then remove them. You were the person who added it... $msg .= "You have transferred <b>" . number_format($Pamount) . "</b> points to <b>$username</b>.<p />"; Link to comment https://forums.phpfreaks.com/topic/161300-solved-using-english_format_number-number_format/#findComment-851161 Share on other sites More sharing options...
seany123 Posted June 7, 2009 Author Share Posted June 7, 2009 Well, then remove them. You were the person who added it... $msg .= "You have transferred <b>" . number_format($Pamount) . "</b> points to <b>$username</b>.<p />"; oh... thanks its working great now.. Link to comment https://forums.phpfreaks.com/topic/161300-solved-using-english_format_number-number_format/#findComment-851166 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.