> could you cast as a float/double before inserting?  $number = (double)
> $string;
> don't know what would happen to the comma, but i assume it would just get
> removed??

Everything after and including the first non-number character would be

So "$12,000.34" would end up as zero. "12,445" would end up as 12, etc...

---John Holmes...

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to