⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dbdemo1_intro.php

📁 一个绝对棒的报表绘图软件
💻 PHP
字号:
<html>
<body topmargin="0" leftmargin="0" rightmargin="0" marginwidth="0" marginheight="0">
<div style="margin:5;">
<div style="font-family:verdana; font-weight:bold; font-size:18pt;">
Database Integration Demo (1)
</div>
<hr color="#000080">
<div style="font-family:verdana; font-size:10pt;">

This example demonstrates creating a chart using data from a database. This example is
based on the MySQL database. To run this example, you need to:

<ul>

    <li>Verify that your PHP has MySQL extensions installed
    <li>Set up a MySQL server to run on the same machine as the web server

    <li>Create a database called "sample" in your MySQL server
    <li>Create an account with username "test" and password "test" that can be used to access "sample"
    <li>Import the table "sample.sql" (located in the "phpdemo" subdirectory) into the "sample" database
</ul>

After you have performed the above:
<ul>
    <li><a href="dbdemo_test.php">Click here</a> to check database connection.
    <li><a href="dbdemo1.php">Click here</a> to run this demo.
</ul>

If you just want to view the sample code, please use the links below:
<ul>
    <li><a href="viewsource.php?file=dbdemo1.php">View containing HTML page source code</a>
    <li><a href="viewsource.php?file=dbdemo1a.php">View chart generation page source code</a>
</ul>

</div>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -