本文整理汇总了PHP中database4::inventory_list方法的典型用法代码示例。如果您正苦于以下问题:PHP database4::inventory_list方法的具体用法?PHP database4::inventory_list怎么用?PHP database4::inventory_list使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类database4
的用法示例。
在下文中一共展示了database4::inventory_list方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: database
<?php
include "../../myDatabase4.php";
include "../../myDatabase.php";
session_start();
$ro = new database4();
$ro1 = new database();
$ro->inventory_list("medicine");
?>
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="../../jquery-2.1.4.min.js"></script>
<script src="../js/jquery-ui.min.js"></script>
<script src="../js/jquery.tooltipster.min.js"></script>
<script src="../../bootstrap-3.3.6/js/bootstrap.js"></script>
<link rel="stylesheet" href="../../bootstrap-3.3.6/css/bootstrap.css"></link>
<link rel="stylesheet" href="../js/jquery-ui.css"></link>
<link rel="stylesheet" href="../js/jquery-ui.theme.min.css"></link>
<link rel="stylesheet" href="../myCSS/tooltipster.css"></link>
<link rel="stylesheet" href="../myCSS/tooltipster-noir.css"></link>
<script>
$(document).ready(function(){
<?php
foreach ($ro->inventory_list_inventoryCode() as $inventoryCode) {
?>
示例2: database
<?php
include "../../myDatabase.php";
include "../../myDatabase4.php";
$ro = new database();
$ro4 = new database4();
$ro4->inventory_list("supplies");
?>
<!doctype html>
<html>
<head>
<title>Movement</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="../../jquery-2.1.4.min.js"></script>
<link rel="stylesheet" href="../../bootstrap-3.3.6/css/bootstrap.css"></link>
<script src="../../bootstrap-3.3.6/js/bootstrap.js"></script>
<script>
$(document).ready(function() {
$("#medicineBtn").click(function(){
window.location = "movement-medicine.php";
//console.log("123");
});
});
</script>
</head>
<body>
<div class="container">
<div class="row">