Warning: mysql_fetch_assoc(): showing in PHP 5.2 but not 4
Posted: Mon Jan 21, 2013 5:57 am
hello
I am building a shopping cart site that was on 1&1 and it was using PHP4 but now i have moved the cart integration and needed to move it up and am now running php 5.2 but an error has now come up within the content of and image that is has a Tom Muck repeat region in it
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in/homepages/6/d132436789/htdocs/beta/product-list.php on line 169
<?php
$None_endRow = 0;
}
} while ($row_None = mysql_fetch_assoc($None));
if($None_endRow != 0) {
while ($None_endRow < $None_columns) {
echo("<td> </td>");
$None_endRow++;
}
echo("</tr>");
}?>
the error line being
if($None_endRow != 0) {
the page still functions but how do i clear this error?
thanks in advance
I am building a shopping cart site that was on 1&1 and it was using PHP4 but now i have moved the cart integration and needed to move it up and am now running php 5.2 but an error has now come up within the content of and image that is has a Tom Muck repeat region in it
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in/homepages/6/d132436789/htdocs/beta/product-list.php on line 169
<?php
$None_endRow = 0;
}
} while ($row_None = mysql_fetch_assoc($None));
if($None_endRow != 0) {
while ($None_endRow < $None_columns) {
echo("<td> </td>");
$None_endRow++;
}
echo("</tr>");
}?>
the error line being
if($None_endRow != 0) {
the page still functions but how do i clear this error?
thanks in advance