that line indeed gives the output but the problem is not even near to it.
the problem is in the $data string.
it's empty.
_________________________
!

download KiXnet