extranet/www/graphs/phpdemo/dbdemo2_intro.php

28 lines
1.1 KiB
PHP
Raw Normal View History

<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 (2)
</div>
<hr color="#000080">
<div style="font-family:verdana; font-size:10pt;">
This example demonstrates creating a chart using data from a database. The database query
is performed in the containing HTML page. The data are then passed to the chart generation
pages as HTTP GET parameters.<br><br>
To run this example, you need to set up the database as mentioned in <a href="dbdemo1_intro.php">
Database Integration Demo (1)</a>. After that, <a href="dbdemo2.php">click here</a> to run
this demo.<br><br>
If you just want to view the sample code, please use the links below:
<ul>
<li><a href="viewsource.php?file=dbdemo2.php">View containing HTML page source code</a>
<li><a href="viewsource.php?file=dbdemo2a.php">View chart generation page source code for upper chart</a>
<li><a href="viewsource.php?file=dbdemo2b.php">View chart generation page source code for lower chart</a>
</ul>
</div>
</body>
</html>