extranet/www/graphs/phpdemo/dbdemo1_intro.php
Michael RICOIS 893f4da173 Ajout de tous les fichiers de l'extranet
Modification de certains chemins
Ajout du framework dans l'extranet
2009-02-17 13:14:53 +00:00

38 lines
1.3 KiB
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>