Check and see if removing the blank spaces works ...
Check and see if removing the blank spaces works ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Hmmm
The blanks in my post must have been created with my lazy copy-paste from the display window for that module. When I click on the configuration as if I were to edit it, those blanks aren't there in the actual data. Good idea tho' -- I've noticed in your posts what a great eye you have for details, and definitely appreciate your input.
I looked up the "split: vs "preg_split" this afternoon in the PHP manual, and it says that split has been deprecated/removed in V7. That's about all I understood about that article tho'. So, maybe that's why the "preg_split: version seems to be working in my environment and "split" didn't.
Thanks!
This is what I am using:
Code:$table_cost = preg_split("/[:,]/" , str_replace(' ', '', constant('MODULE_SHIPPING_ZONETABLE_COST_' . $this->dest_zone)));
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!