Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

parse to new page from form

$
0
0

I have not been able to find this on YouTube or the internet surprisingly. Anyways I got a simple select form here. I was not real sure where to put "name" and "value" tags. Anyways here it is:

<html>

<head>

</head>

<body>
Select Your School:
		
<form method="post">
  <select>
  <option value="LCCC">Lorain County Community College</option>
  <option value="CSU">Cleveland State University</option>
  <input type="submit" value="Submit" />
  </select>
</form>

</body>
</html> 

How can I use PHP to parse to a new page based on their selection? For example if they choose LCCC then it will go to "lccc.php" or if they choose CSU it will go to "csu.php"?

 


Viewing all articles
Browse latest Browse all 13200

Trending Articles