Nuno Pereira wrote:
To do date change the first line from
printf("<tr><td> number_format({$thearray[cost]}, 2) </td>
to
printf("<tr><td> ".number_format({$thearray[cost]}, 2)." </td>
I think you mean:
print( "<tr><td>" . number_format( $thearray['cost'], 2 ) . "</td>" );
As stated by a previous poster to this thread, you shouldn't rely on
PHP's automagical conversion of nonexistent constants to strings. The
extra curly braces { } would also likely cause an error in the function
params, and are extraneous even if they don't.
--
Jasper Bryant-Greene
Freelance web developer
http://jasper.bryant-greene.name/
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]