the code below is not working
<?php
$product=array();
$plicense_key=array();
$count=2;
$product['0']="The life of game";
$product['1']="The game of life";
$product['2']="Congo";
$plicense_key['0']="xf456-sdfrd";
$plicense_key['1']="xf456-sdfrd";
$plicense_key['2']="xf456-sdfrd";
$to=$user['email'];
$subject="Thank you for purchasing";
$txt= "Thank for purchasing our product.your product related information is-";
for($i=0; $i<$count; $i++)
{
if($i=0)
{
$txt.="product:Licence_key";
}
$txt.=$product[$i]." :".$plicense_key[$i];
}
echo $txt;
?>
It is giving error "
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 33292273 bytes) in C:\xampp\htdocs\digital-downloads-pro\test1.php on line 20"