Can anyone tellme why this simple code don´t work

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
molandim
Forum Newbie
Posts: 19
Joined: Thu Feb 20, 2003 11:33 am
Location: Brazil
Contact:

Can anyone tellme why this simple code don´t work

Post 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"
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

got an older version of php?

Code: Select all

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