ordubilisim Posted October 3, 2014 Share Posted October 3, 2014 The addons are returned in the format "name=Addon Name;nextduedate=Next Due Date;status=Status| How do I print only what you want 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted October 4, 2014 Share Posted October 4, 2014 you can convert this string into array using the example code below: <?php $addonParams = array(); $addonString = "[color=#333333]name=Addon Name;nextduedate=Next Due Date;[/color]"; $addonStringParams = explode(";", $addonString); foreach($addonStringParams as $addonParam){ $splitValue = explode("=", $addonParam); $addonParams[$splitValue['0']] = $splitValue['1']; } echo $addonParams['nextduedate']; ?> 0 Quote Link to comment Share on other sites More sharing options...
ordubilisim Posted October 7, 2014 Author Share Posted October 7, 2014 Thank you. So how customfields We reserve? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.