On the submit button i've placed the action DB Record Load. After the step DB Record Load I placed the action Custom Code.
When I simply place this code
The total string is for example 1245=dog,5687=cat,4785=horse
I now want to become the word cat when I search for 5687
I tried with substr and pos but I could not fix it.
Can anybody help me ?
Thanks
When I simply place this code
$text = $form->data['content1'];
echo $text;
I see the string where I'm looking for. But I only want a little piece of text of this string.The total string is for example 1245=dog,5687=cat,4785=horse
I now want to become the word cat when I search for 5687
I tried with substr and pos but I could not fix it.
Can anybody help me ?
Thanks