CalcBuilder Forum

Linked List

User moon_617 2012-07-16 14:53:14

Linked List: Name=12 months Value=A1_678

Please tell me how to get 678?

Moonsoft support 2012-07-16 15:23:33

To get the last part of the value, you have to split the value in two pieces, using the _ sign, and then get the second one, this way:

$pieces = explode("_", $yourlinkedvalue);

$preffix=$pieces; // A1
$value=$pieces; // 678

At this point you will have the number stored at the '$value' variable

You can get more info here:

Hope this helps

User moon_617 2012-07-16 15:54:59

Thank you very much!

List Manager

Build different lists for your site

Buy now!
Support/development 40 hours

With the peace of mind of having a professional team at your service (20% discount)

Buy now!