How to print multiple arrays with foreach?
<p>I have 2 arrays: <code>post_titles</code> and <code>posts</code>. How do I print them one after another with <code>foreach</code>?</p>

<p>When I use 1 array, it works fine: </p>

<pre><code>&lt;?php foreach ($titles as $row) { ?&gt;
    &lt;?php echo $row['post_title'] ?&gt; &lt;br&gt;                       
&lt;?php } ?&gt; 
</code></pre>

<p>I want data to be printed like this:</p>

<pre><code>Title
Post
&lt;br&gt;
Title
Post
&lt;br&gt;
</code></pre>

<p>etc.</p>