Jump to content

replacing html links with php


may88

Recommended Posts

For a homework assignment I have to replace html files from a previous homework with a php, I have been off sick for four weeks so need to catch up!!! any tips would be good, or links that would help me understand more,what I have to do is

 

Replace the list links to the 5 albums by a form with a drop-down selection and a Submit

button.

2. Replace the 5 HTML files for the 5 albums with a single PHP file.

 

here is my list link code  file

 

 

<!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>pop albums</title>
</head>

<body backround = "02_15_07_ipod_longo.jpg">
<div id="content">
       
    <h1 id="album_header">pop albums</h1>
         
    <ul id="albums">  
     <li><a href="Madonna.html">Madonna - American Life</a></li>
     <li><a href="Metallica.html">Metallica - St. Anger</a></li>
     <li><a href="Otep.html">Otep - Sevas Tra</a></li>
     <li><a href="Patti_Smith.html">Patti Smith - Easter</a></li>	   
     <li><a href="Busta_Rhymes.html">Busta Rhymes - The Big Bang</a></li>
    <ul>
    
    
</div>
</body
</html>

Link to comment
https://forums.phpfreaks.com/topic/196307-replacing-html-links-with-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.