|
Posted by One on 02/12/07 16:18
On Feb 9, 5:51 am, Toby A Inkster <usenet200...@tobyinkster.co.uk>
wrote:
> One wrote:
> > history['order_total'] is $241.47
> > [60][98][62][36][50][52][49][46][52][55][60][47][98][62]
>
> $history['order_total'] contains '<b>$241.47</b>'. This is not a number.
>
> $history['order_total'] = (float)preg_replace('/[^0-9\.]/', '',
> strip_tags($history['order_total']));
Mr. Toby!
You da man - thanks very much!
Thank you also to Rik and Jerry for taking the time to resolve this
issue.
Navigation:
[Reply to this message]
|