Page 1 of 1

Can anyone tellme why this simple code don´t work

Posted: Sun Apr 13, 2003 4:48 pm
by molandim
Send data to another page;
this is the form:

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
	<title>Untitled</title>
</head>

<body>
<form action="http://localhost/script.php" method="GET">
<select name="Team" size="2">
	<option value="cubbies">tdffdfd</option>
	<option value="white">please</option></select>
	<input type="submit" name="submit" value="Select">
</form>


</body>
</html>
this is the script that take the code of script.php :

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
	<title>Untitled</title>
</head>

<body>
Go 
<?php echo $_GET&#1111;'Team']; ?>

</body>
</html>
I can see in the url that the parameter is there, but script.php don´t display it in the page... it only show "Go"

Posted: Sun Apr 13, 2003 5:55 pm
by m3mn0n

Posted: Sun Apr 13, 2003 6:17 pm
by volka
got an older version of php?

Code: Select all

<?php phpinfo(); ?>
will tell you