Why this code doesn't work?
Posted: Tue Jan 26, 2010 6:21 am
filename minhagrid.php
<?php
echo"<form action='minhagrid.php?Codigo=";echo"8'";echo " method='GET'>";
echo" <fieldset>";
echo" <legend>Pesquisa:</legend>";
echo" Código: <input type='text' size='10' /><br />";
echo" Designação: <input type='text' size='30' /><br />";
echo" <input type='Submit' value='Pesquisar'/>";
echo" </fieldset>";
echo"</form>";
?>
The form action goes to minhagrid.php and not minhagrid.php?Codigo=8
Btw the file returns to his self, but i need the parameter Codigo=8
Any help?
<?php
echo"<form action='minhagrid.php?Codigo=";echo"8'";echo " method='GET'>";
echo" <fieldset>";
echo" <legend>Pesquisa:</legend>";
echo" Código: <input type='text' size='10' /><br />";
echo" Designação: <input type='text' size='30' /><br />";
echo" <input type='Submit' value='Pesquisar'/>";
echo" </fieldset>";
echo"</form>";
?>
The form action goes to minhagrid.php and not minhagrid.php?Codigo=8
Btw the file returns to his self, but i need the parameter Codigo=8
Any help?