PHP and HTML programming?

c2_91

New member
I have a html file, that i want to write a php file to display a picture that i have saved on my c drive. Like if they select Monet and hit submit i want my php file to display the picture of his painting. How do i do that?

here is my html:

<html>
<head>
<title>Gallery</title>
</head>
<body bgcolor=lightblue>
<hr />
<form action="myphp.php" method="GET">
<b>Enter name: </b>
<input type="text" name="namestring" size=50>
</p>
<b>Select Artist: </b>
<select name="artist"> <option selected value="Monet"
/> Monet
<option value="VanGogh" />Van Gogh
<option value="Sisley" />Sisley
</select>
<p/>
<input type="submit" value="Submit">
<input type="reset" value="Reset">
</form>
<hr />
</body>
</html>
 
Back
Top