I need help, I would like to include a code inside the DELIMETER, but I can not, someone can help me or propose another alternative. The function below shows all the quantity I have in stock, a way for the customer to choose the quantity at the checkout!
Below is my code:
$product = <<<DELIMETER
<a class="btn btn-default">
<select id ="quantidade" name="quantidade"> <?PHP for ($i = 0; $i <=$row['produto_quantidade']; $i++) echo "<option value=".$i.">".$i."</option>";
?> </select> </a>
DELIMETER;