/*******************************************************************************************************
* InfoWizards Reciprocal Link Systems PRO Ver 2.0
* IF you have any problems or questions please email us at support@infowizards.com
* This software is proprietary and not for distribution or sale without written consent from the authors.
* We reserve all rights to any coding you may find in this software © Information Management Services, LLC.
* DBA InfoWizards, 2004
*
* NOTE: Your web host must have PHP 4.3 or later to run this software! If you intend on using the
* "Search Engine Friendly URLs" You must have mod_rewrite enabled in your servers Apache configuration.
* This copy is for use on ONE domain only. This domain was specified during purchase. Additional domain
* licenses will be or have been issued for use on any 'other' domains. This copy has been encrypted and will
* remotely send us notification if it is being used on any other UNLICENSED domain. We have the right
* to 'remotely' disable this software if we see any versions being used on any un-licensed domains.
*********************************************************************************************************/
include ("inc/common.php");
include("inc/header-inc.php");
?>
|
///////////find categories////////////////////////////////////
while ($catrows = mysql_fetch_array($catCount, MYSQL_ASSOC)) {
$category = $catrows["cat_name"];
$catNo = $catrows["cat_id"];
echo " ".$category." ";
//////////find sub categories//////////////////////////////
$subcatsql = mysql_query("SELECT * FROM subcategories WHERE catNo ='$catNo' ORDER BY `subName` ASC");
while ($subcatrow = mysql_fetch_array($subcatsql, MYSQL_ASSOC)){
$subcategory = $subcatrow["subName"];
$subNo = $subcatrow["subNo"];
echo "• ".$subcategory." ";
}
}
?>
|
|
|
| |