echo '<form name="formulario" method="POST" action=""> <input type="text" name="var1"> <input type="text" name="var2"> <input type="submit" name="enviar" value="Enviar"> </form>';