当前位置: 首页>>代码示例>>PHP>>正文


PHP Home::categoryParentLink方法代码示例

本文整理汇总了PHP中Home::categoryParentLink方法的典型用法代码示例。如果您正苦于以下问题:PHP Home::categoryParentLink方法的具体用法?PHP Home::categoryParentLink怎么用?PHP Home::categoryParentLink使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Home的用法示例。


在下文中一共展示了Home::categoryParentLink方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: array

        $TFM_nest = $row_rsView['title'];
        if ($lastTFM_nest != $TFM_nest) {
            $lastTFM_nest = $TFM_nest;
            ?>
					<b><?php 
            echo $row_rsView['title'];
            ?>
</b><br />
					<?php 
        }
        //End of Basic-UltraDev Simulated Nested Repeat
        ?>
						<?php 
        $Home->catLinkDisplay = '';
        $Home->catLink = array();
        $Home->categoryParentLink($row_rsView['detail_id'], $row_rsView['id']);
        echo $Home->catLinkDisplay;
        echo "<br />";
        ?>
				<?php 
    } while ($row_rsView = mysql_fetch_assoc($rsView));
    ?>
			<?php 
}
// Show if recordset not empty
?>
			<?php 
include 'menu.php';
?>
	        </div>
	    </div>                
开发者ID:manishkhanchandani,项目名称:mkgxy,代码行数:31,代码来源:hpm_search.php

示例2: sprintf

$query_rsView = sprintf("SELECT * FROM home_product_management_details WHERE id = %s AND user_id = %s AND pid = %s ORDER BY name ASC", $colname_rsView, $colid_rsView, $colpid_rsView);
$rsView = mysql_query($query_rsView, $connHm) or die(mysql_error());
$row_rsView = mysql_fetch_assoc($rsView);
$totalRows_rsView = mysql_num_rows($rsView);
$colname_rsPid = "-1";
if (isset($_GET['pid'])) {
    $colname_rsPid = get_magic_quotes_gpc() ? $_GET['pid'] : addslashes($_GET['pid']);
}
mysql_select_db($database_connHm, $connHm);
$query_rsPid = sprintf("SELECT * FROM home_product_management_details WHERE detail_id = %s", $colname_rsPid);
$rsPid = mysql_query($query_rsPid, $connHm) or die(mysql_error());
$row_rsPid = mysql_fetch_assoc($rsPid);
$totalRows_rsPid = mysql_num_rows($rsPid);
include '../Classes/Home.php';
$Home = new Home();
$Home->categoryParentLink($_GET['pid'], $_GET['id']);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/mumbaionline.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- InstanceBeginEditable name="doctitle" -->
<title><?php 
echo $row_rsPlace['title'];
?>
 :: Add Items</title>
<!-- InstanceEndEditable -->
<link href="../default.css" rel="stylesheet" type="text/css" media="screen" />
<script type="text/javascript" src="../js/script.js"></script>
<script src="../js/jquery-1.2.6.js" type="text/javascript"></script>
<!-- InstanceBeginEditable name="head" -->
开发者ID:manishkhanchandani,项目名称:mkgxy,代码行数:31,代码来源:hpm_add_items.php


注:本文中的Home::categoryParentLink方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。