I've got input like this:
<div id="fruit1">
<input type="text" name="name[]" value="Apple" />
<input type="text" name="qty[]" value="2" />
</div>
<div id="fruit2">
<input type="text" name="name[]" value="Blackberry" />
<input type="text" name="qty[]" value="4" />
</div>
<div id="fruit3">
<input type="text" name="name[]" value="Banana" />
<input type="text" name="qty[]" value="1" />
</div>
Is there a simple way using implode to get result like this (single line):
Apple;2|Blackberry;4|Banana;1|