PHP Form is not processing endless loop
<p>I have plus icon next to an input field in my form to so I can add more input fields. Name of the fields are automatically generated to in this form -> "one_f1", "one_f2" ...</p>

<p>When I create the mail to send it out, I need to create a while loop for this so I can put all the values that are sent from the form. </p>

<p>As soon as I added this code, my php form started taking too long to send the mail and that is causing this error;
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 267911134 bytes) in /mail/send.php on line 5</p>

<p>My code is;</p>

<pre><code>$k = 0;
  while(isset($_POST["one_f".$k])){
     $body .= '&lt;li style="list-style: circle;"&gt;'.$_POST["one_f".$k].'&lt;/li&gt;';
  }
$k++;
</code></pre>
