Ver Mensaje Individual
  #1 (permalink)  
Antiguo 13/11/2007, 10:38
thenine
 
Fecha de Ingreso: mayo-2007
Mensajes: 44
Antigüedad: 16 años, 11 meses
Puntos: 0
Como enviar datos

Hola,

tengo un problema que no resuelvo:

tengo un formulario con un select

Código PHP:
echo "    <form action='' method='post' name='form2' target='_self' id='form2'>";
echo 
"      <table width='100px' border='0'>";
echo 
"            <tr>";
echo 
"              <td width='20px'><b>Provincia</b></td>";
echo 
"              <td width='70px'><label>";

echo 
"                  <select name='prov' id='prov'>";
echo 
"                 <option>DAto 1</option>";
echo 
"                 <option>Dato 2</option>";
  ......
echo 
"              </select>";
echo 
"              </label>";
echo 
"              </td>";
echo 
"              <td width='10px'>";
echo 
"                <label>";

echo 
"                <input type='submit' name='send' id='send' value='=&gt;' />";
echo 
"              </label>              </td>";
echo 
"            </tr>";
echo 
"        </table>";
echo 
"       </form>"
y despues tengo
Código PHP:
include("mostrar.php"); 

Mostrar escribe una tabla con los datos de un query a la BBDD con el parametro seleccionado en el Select
No soy capaz de mandar el parametro a la pagina mostrar.php y aparezca el resultado.
Podeis ayudarme

Salu2