how to echo back the whole mysql_fetch_array
<p>i have this SQL code : </p>

<pre><code>$sql="SELECT * FROM functions
      WHERE user_name='ben ' 
      AND (function_description LIKE '%xxx%') ";
</code></pre>

<p>it give me back two lines on phpmyadmin SQL  : </p>

<pre><code>user_name   function_type   function_name   function_description
ben         PHP         PHP1            that xxx
ben         PHP         PHP2            lofaif adnan xxx i
</code></pre>

<p>but when i tried to echo back those lines using this : </p>

<pre><code>$results=mysql_query($sql,$connection);
 while($row=mysql_fetch_array($results, MYSQL_ASSOC))
{
    echo $row['function_name'] . " : " . $row['function_description'] . "&lt;br/&gt;&lt;br/&gt;";
}
</code></pre>

<p>it give me back just this : </p>

<pre><code>PHP2:lofaif adnan xxx i
</code></pre>

<p>and i want to echo back the 2 lines .. whats the problem with it ?</p>
