Answer the question
In order to leave comments, you need to log in
The page is not being created. What's my mistake?
Products are displayed on the catalog.php page. There is a list with categories. By clicking on the list item, a page should be generated. But I only get 404. What am I doing wrong?
<?php
$result = mysql_query("SELECT * FROM category WHERE type='gpu'",$link);
If (mysql_num_rows($result) > 0)
{
$row = mysql_fetch_array($result);
do
{
echo '
<li><a href="view_cat.php?cat='.strtolower($row["brand"]).'&type='.$row["type"].'">'.$row["brand"].'</a></li>
';
}
while ($row = mysql_fetch_array($result));
}
?>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question