I send data from form, where the textarea contains html tags. On PHP side I do not see them, using:
echo "<pre>";
print_r( $_POST );
echo "</pre>";
exit();
I get:
Where have paragraph tags gone?
In source code they are clearly gone:
<pre>Array
(
[mode] => save_product
[id] => 1
[title] => Banana Shake
[categoryid] => 1
[serving] => 34.50
[orderby] => 10
[intro] => Intro
[instructions] => Empty contents of packet into a shaker or blender, add 200-240ml of cold water and shake/mix until fully dissolved.
Consume within 10 minutes for full nutritional benefit.
...</pre>
EDIT
I am using x-Cart's engine to manipulate data, could be the x-Cart strips those tags.
The solution was to set trusted variables at beginning of the script this way:
define('USE_TRUSTED_POST_VARIABLES', 1);
$trusted_post_variables = array('intro', 'instructions');
That way x-cart won't strip any tags.
Thanks for the help and sorry for the confusion.