Pass variable in page which has pagination
<p>I am having a page (epipla.php) which is displaying some data (names of companies &amp; their information) and when a user clicks on a company name, he gets redirected in another page (meta.php). On the redirection the epipla.php passes the company id via a link which contains the id (example : <code>&lt;a href="meta.php?id={$row['id']}"&gt;&lt;/a&gt;</code>).
The meta.php displays the company's information and then the comments added for the certain company.
The comments are displayed using pagination. And here comes the problem. The first page works just fine displaying all the 4 first comments but when i click on the second or any other next page to see the rest comments i got the error :</p>

<p>Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\epipla\meta.php on line 36</p>

<p>Any help would be appreciated,
Thanks in advance!</p>
