Redesigning a wesbite I created into a single php file
Posted: Wed Mar 24, 2010 3:53 pm
I have to Redesign a very basic website created for Homework,
I have done the first part, which was to replace the list links to the 5 albums by a form with a drop-down selection and a Submit button.
the bit I am stuck is that I have to Replace the 5 HTML files for the 5 albums with a single PHP file. I have looked at php code to try and do this, but I am not finding any success for what I need, so if anyone can point me in the right direction, or links to good php tutorials thanks
here is one of the html albums files
I have done the first part, which was to replace the list links to the 5 albums by a form with a drop-down selection and a Submit button.
the bit I am stuck is that I have to Replace the 5 HTML files for the 5 albums with a single PHP file. I have looked at php code to try and do this, but I am not finding any success for what I need, so if anyone can point me in the right direction, or links to good php tutorials thanks
here is one of the html albums files
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<link rel="stylesheet" type="text/css" href="pop_albums.css"/>
<title>Busta_Rhymes</title>
</head>
<body>
<div id="content">
<ul id="navigation">
<li><a href="index.html">home</a></li>
<li><a href="Madonna.html">American Life</a></li>
<li><a href="Metallica.html">St. Anger</a></li>
<li><a href="Otep.html">Sevas Tra</a></li>
<li><a href="Patti_Smith.html">Easter</a></li>
<li><a href="Busta_Rhymes.html">The Big Bang</a></li>
</ul>
<div id="pic">
<img src="images/busta_rhymes_the_big_bang.jpg" />
</div>
<h2 id="header">Busta Rhymes - The Big Bang</h2>
<div id="tracks">
<ol>
<li>Get You Some - (featuring Marsha From Floetry/Q-Tip)- 3.06</li>
<li>Touch It - 2.45 </li>
<li>How We Do It Over Here - 3.22</li>
<li>New York S*** - 6.14</li>
<li>Been Through The Storm - 1.43</li>
<li>In the Ghetto - 4.42</li>
<li>Cocaina - 5.06</li>
<li>You Can't Hold the Torch - 2.09</li>
<li>Goldmine - 7.43</li>
<li>I love My B****- 5.52</li>
<li>Don't Get Carried Away - 2.09</li>
<li>They're Out to Get Me - 7.43</li>
<li>Get Down- 5.52</li>
<li>I'll Do It All - 7.43</li>
<li>Legend of the Fall Offs 5.52</li>
</ol>
</div>
</body>
</html>