https://www.appserv.org/en/
En lugar de 80 poner : 8080
Ir a DW y guardar:
Como la pagina estaba en clanco se guardo asi
*Con control +S , se guarda , ahora ya aparece el nombre en la parte superior
En DW
Editando mi texto:
--
--
--CONCATENAR, UNA VARIABLE SIEMPRE ENMIEPA CON EL SIGNO DÓLAR, ASI SE CREAN
VARIABLES
echo $texto;
Va en esa parte
--
Poniendole color al fondo ;
En body se edita
?>
<table align="center">
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
<tr>
</tr>
</table>
</tr>
Con el siguiente código cambiamos el valor del botón enviar por “Enviar Datos”
Ejemplo1
<body style="background:#F35">
<?php
/*este es un comentario de
dos lineas*/
?>
<div style="text-align:center"><h1>DATOS PERSONALES</h1></div>
<table align="center">
<tr>
<td> nombre: </td>
<td> <input type= "text" name "txt1"/></td>
</tr>
<tr>
<td> Apellidos: </td>
<td> <input type= "text" name "txt2"/></td>
</tr>
<tr>
<td> Dirección: </td>
<td> <input type= "text" name "txt3"/></td>
</tr>
<tr>
<td> DNI: </td>
<td> <input type= "text" name "txt4"/></td>
</tr>
<tr>
<td> Carrera: </td>
<td> <input type= "text" name "txt5"/></td>
</tr>
<tr>
<tr>
</table>
</body>
</html>
UN NUEVO DOCUMENTO
<?php
$num1=$_POST['numero1'];
$num2=$_POST['numero2'];
$suma=$num1+$num2;
?>
<form method="post" action="">
</form>
<?php
$num1=$_POST['numero1'];
$num2=$_POST['numero2'];
$suma=$num1+$num2;
?>
<form method="post" action="">
</form>
Para que ya no muestre la caja de texto sino que muestre solo el valor