foreach use them multiple times
<pre><code>http://pastebin.com/MFCQzJQ8
</code></pre>

<p>I have this code and I am trying to get it to output the result </p>

<pre><code>echo $attack.' Attacks Have Been Stopped On Server '.$id.'&lt;br&gt;';
</code></pre>

<p>different every time but I can only get the server id or the attack to change but I need both to change and output on a new line ever time.</p>

<p><a href="http://gyazo.com/f38c20ecef5af72dcc534be88101f8a2" rel="nofollow">http://gyazo.com/f38c20ecef5af72dcc534be88101f8a2</a></p>

<pre><code>    &lt;?php
    if (isset($_POST['stop']))
    {
        $ids = $_POST['id'];
        $urls = $_POST['url'];
        $attacks = $_POST['attack'];
        foreach($urls as $url);
        foreach($attacks as $attack);
        foreach($ids as $id);


            echo '&lt;div class="nNote nSuccess hideit"&gt;&lt;p&gt;&lt;strong&gt;SUCCESS: &lt;/strong&gt;&lt;br&gt;';

            foreach($ids as $id){
            if($attack == "NONE"){$attack = "No";}
            echo $attack.' Attacks Have Been Stopped On Server '.$id.'&lt;br&gt;';
            }
            echo '&lt;/p&gt;&lt;/div&gt;';
    }
    ?&gt;
</code></pre>
