-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathexample.php
29 lines (29 loc) · 900 Bytes
/
example.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
require "include/TagCloudProvider.php";
$tg = new TagCloudProvider("images/TagCloud.php");
?>
<html>
<head>
<title>
Tag Cloud Demo
</title>
<meta charset="utf-8">
</head>
<body>
This is a sample image generated using the TagCloud class.
<hr>
<?php
$tg->create(300, 200, Array('C','C++','C#','VB 6.0','Java','x86 Assembly','PHP','MS SQL Server','MS-Access','MySQL','XML','Linux'));
?>
<hr>
<code>Code for creating the above Tag Cloud.
<pre>
<?php
require "include/TagCloudProvider.php";
$tg = new TagCloudProvider("images/tagCloud.php");
$tg->create(300, 200, Array('C','C++','C#','VB 6.0','Java','x86 Assembly','PHP','MS SQL Server','MS-Access','MySQL','XML','Linux'));
?>
</code>
</pre>
</body>
</html>