dynamic category list link to the product list page does not

I have a list of dynamic category which is filled from a mySQL database

<? PHP {? >}

< li > < a href = "product - list.php? CatID = <? PHP echo $row_Recordset1 ['CatID'];? > "> <?" PHP echo $row_Recordset1 ["productGroupGUID'];? > < /a > < /li >

<? PHP} while ($row_Recordset1 = mysql_fetch_assoc ($Recordset1));? >

im not sure if the aboive is correct?

I need to link to the product page and just show all products in this category

list of php code is

$var1_Recordset1 = "-1";

If (isset($_GET['CatID'])) {}

$var1_Recordset1 = $_GET ['CatID'];

}

@mysql_select_db ($database_lotties, $lotties);

$query_Recordset1 = sprintf ("" SELECT * FROM lottieProducts, lottieCat WHERE lottieCat.CatID = lottieProducts.CatID AND lottieCat.CatID = %s ", GetSQLValueString ($var1_Recordset1,"int")");

$Recordset1 = mysql_query ($query_Recordset1, $lotties) or die (mysql_error ());

$row_Recordset1 = mysql_fetch_assoc ($Recordset1);

$totalRows_Recordset1 = mysql_num_rows ($Recordset1);

Thanks in advance

He made

$varCat_rsProductData = '0 '.

If (isset($_GET["cat"])) {}

$varCat_rsProductData = $_GET ["cat"];

}

@mysql_select_db ($database_lotties, $lotties);

$query_rsProductData = sprintf ("" SELECT * FROM lottieProducts WHERE lottieProducts.CatID = %s ", GetSQLValueString ($varCat_rsProductData,"int")");

$rsProductData = mysql_query ($query_rsProductData, $lotties) or die (mysql_error ());

$row_rsProductData = mysql_fetch_assoc ($rsProductData);

$totalRows_rsProductData = mysql_num_rows ($rsProductData);

link to the chat list

">

Tags: Dreamweaver

Similar Questions

Maybe you are looking for

  • Impossible to define the message filter in Thunderbird 31 (screen disappears)

    To attempt to define a message filter, I can enter the relevant details in the FIRST screen, but when I click 'OK', the second screen ALWAYS then disappears. Thank you. DAVE

  • Windows 7 suddenly not valid/true.

    After a holiday my work laptop tells me that my windows is not valid. MGA Diag report below. Tried to post with all of the automatic methods (slui slmgre and others)-TNA. legitcheck.HTA does not work - the script errors. It runs via IE11. The laptop

  • External USB devices are not recognized

    * Original title: Ext usb devices appearing is not in my computer ACer laptop WIn 7 amd a8 quadruple-heart: when I log about 1 T external usb 2.0 or 3.0 hardrives or key USB 64 G,.Device Manager displays the devices, but they do not appear in the lis

  • BlackBerry Smartphones restore phone again?

    I bought a Blackberry curve 8520, thinking he had a GPS function. It's not, so I decided to move to a 9300 series. I downloaded and installed a few applications have many tasks, contacts and appointments in sync with my desktop computer and don't wan

  • I can't rip a CD with windows media player 12 on windows 7. Help, please

    When I put a cd and click the rip, this is the error I get. (Windows Media Player cannot find the file. If you try to play, burn, or sync an item that is in your library, the element can point to a file that has been moved, renamed, or deleted). When