Click here to Skip to main content
15,888,521 members
Articles / Programming Languages / PHP

Draw Guitar Chords using PHP

Rate me:
Please Sign up or sign in to vote.
4.60/5 (5 votes)
26 Jul 2010CC (ASA 3U)3 min read 45.7K   748   10  
PHP class to draw guitar chords
<html>
	<head>
		<title>PHP Chord examples</title>
		<style>
			h1{font-size:20px;}
			p{margin:0;padding:0;}
			img{border:none;}
		</style>
	</head>
	<body>
	
	<div>
		<h1>Example 1: simple chord</h1>
		<p><a href="example1.php"><img src="example1.php" /></a></p>
		<em>example1.php</em>
	</div>
	<hr />
	
	<div>
		<h1>Example 2: background picture</h1>
		<p><a href="example2.php"><img src="example2.php" /></a></p>
		<em>example2.php</em>
	</div>
	<hr />
	
	<div>
		<h1>Example 3: custom sizes</h1>
		<p><a href="example3.php"><img src="example3.php" /></a></p>
		<em>example3.php</em>
	</div>
	<hr />
	
	<div>
		<h1>Example 4: Hide zeros</h1>
		<p><a href="example4.php"><img src="example4.php" /></a></p>
		<em>example4.php</em>
	</div>
	<hr />
	
	<div>
		<h1>Example 5: Hide upper symbols</h1>
		<p><a href="example5.php"><img src="example5.php" /></a></p>
		<em>example5.php</em>
	</div>
	<hr />
	
	<div>
		<h1>Example 6: Ukulele "G"</h1>
		<p><a href="example6.php"><img src="example6.php" /></a></p>
		<em>example6.php</em>
	</div>
	<hr />
	
	<div>
		<h1>Example 7: Custom colors</h1>
		<p><a href="example7.php"><img src="example7.php" /></a></p>
		<em>example7.php</em>
	</div>
	<hr />
	
	<div>
		<h1>Example 8: Barre chord</h1>
		<p><a href="example8.php"><img src="example8.php" /></a></p>
		<em>example8.php</em>
	</div>
	<hr />
	
	<div>
		<h1>Example 9: Higher pitch chord</h1>
		<p><a href="example9.php"><img src="example9.php" /></a></p>
		<em>example9.php</em>
	</div>
	<hr />
	
	<div>
		<h1>Example 10: Title</h1>
		<p><a href="example10.php"><img src="example10.php" /></a></p>
		<em>example10.php</em>
	</div>
	
	</body>

</html>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Creative Commons Attribution-Share Alike 3.0 Unported License


Written By
Systems Engineer
France France
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions