No puedo pasar variables en php no se si sea problemas del
wampserver pero ya estuve haciendo bastantes pruebas y no he conseguido pasar ningun dato.
Código HTML:
Ver original<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> <form action="get.php" method="get"> <input type="text" name="nombre" /><br /> <input type="text" name="apellido" /><br /> <input type="submit" value="enviar" />
get.php
Código PHP:
Ver original<?php
if(isset($_GET['nombre']) && isset($_GET['apellido'])) {
echo $_GET['nombre'];
echo "<br />";
echo $_GET['apellido'];
}
?>
cual puede ser el problema ya probe con post y nada tampoco.