I have a PHP variable which have xml content inside. If I echo the variable it is printing 1. Why it is happening like this?
$xml = "<?xml version='1.0'?><Item><qoh>".$quantity_to_update."</qoh></Item>";
echo $xml;
OUTPUT
1
I have a PHP variable which have xml content inside. If I echo the variable it is printing 1. Why it is happening like this?
$xml = "<?xml version='1.0'?><Item><qoh>".$quantity_to_update."</qoh></Item>";
echo $xml;
OUTPUT
1