Hello,
Could somebody help me with this?
I know how to format numbers $number = number_format($number); and so on . . .
What I don't know is: How to apply this to results of a query like this:
$result=mysql_query ("SELECT * FROM stuff WHERE this='$this' and that='$that' LIMIT $offset,$limit");
while ($b = mysql_fetch_array($result)) {
printf( "This: %s That: %s Cash: %s\n", $b[this], $b[that], $b[cash]);
}
How can I format the output of cash?
Thank You,