PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
This is a string of code from a pretty intense script that I use. This code displays the user's revenue in a table along with other bits of information.
This is only one column of the table, the variable is "lead_amount" and I need to format that to display numerically. I usually use the number_format() code but it won't seem to work here properly. I might not be using the right syntax.
So basically I need to display "lead_amount" numerically. Can anyone help! Here is the code:
the code that is there now is how it normally is, but i want to make it display numerically. I don't know the proper way to use the format_number call in this scenario. Can you show me the code formatted numerically please
dman779 wrote:the code that is there now is how it normally is, but i want to make it display numerically. I don't know the proper way to use the format_number call in this scenario. Can you show me the code formatted numerically please
Not really, you seem to be using some class instantiated as $camp to do the formatting. All you're showing us is the call to that class's createFormat() method. As we don't know what the class is, what it actually does, what parameters it expects, or anything about it, there's little we can advise