Function Editor help
-
Hello
I need little pointer and don’t know where I am doing wrong.
in my XML file, The bedrooms have value like this 2|2|2 . Value is showing 3 times, I want to keep only first one.
In php function Editor, I am using below code
<?php function bedroom_fix($bedrooms){ $new_value = explode("|", $bedrooms); return $new_value[0]; } ?>how to put result of $new_value[0]; in import process ? Sorry I am new to php and don’t know where I am doing wrong.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Function Editor help’ is closed to new replies.