![]() |
PHP RegEx question
Given a string in the format:
a:3:{s:3:"usd";s:5:"12.00";s:3:"gbp";s:4:"0.00";s: 3:"eur";s:4:"0.00";} (That's the cost field from the subscription table) What would the best technique be to get at the string value bewteen the 3rd and 4th " and convert it to a float? |
PHP Code:
|
All times are GMT. The time now is 05:19 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|