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. Quote Link to comment 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? Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted June 7, 2009 Share Posted June 7, 2009 Well, then what do you want? Quote Link to comment 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 Quote Link to comment 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 />"; Quote Link to comment 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.. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.