[PHP-DB] splitting string from database

2006-07-03 Thread Dave W
Hi, I am trying to take a number from a MySQL database and then split it into different strings using a comma. It's for display a cash amount into a table. It's stored in the database as something like 100 and I want for it to display as 1,000,000 on the table. This is what I got so far:

Re: [PHP-DB] splitting string from database

2006-07-03 Thread Chris
Dave W wrote: Hi, I am trying to take a number from a MySQL database and then split it into different strings using a comma. It's for display a cash amount into a table. It's stored in the database as something like 100 and I want for it to display as 1,000,000 on the table.