Variables con php
Transcript of Variables con php
![Page 1: Variables con php](https://reader030.fdocument.pub/reader030/viewer/2022013111/55b1ab78bb61eb370a8b4662/html5/thumbnails/1.jpg)
Primero encenderemos WampServer
Inicio—wampserver
Este tiene que estar en verde para poder trabajar
![Page 2: Variables con php](https://reader030.fdocument.pub/reader030/viewer/2022013111/55b1ab78bb61eb370a8b4662/html5/thumbnails/2.jpg)
Ahora abra Notepad
Inicio—Programas—Notepad
Este será su espacio de trabajo
![Page 3: Variables con php](https://reader030.fdocument.pub/reader030/viewer/2022013111/55b1ab78bb61eb370a8b4662/html5/thumbnails/3.jpg)
Para poder comenzar escoja el lengua con el que baya a trabajar
Lenguaje—P – Php
Luego empiece con su página con <html> y no se olvide de cerrar siempre </html>
Head cabecera
Title el titulo de la pestaña principal
Body cuerpo de la pagina
H1 tamaño de fuente
P para colocar un párrafo
![Page 4: Variables con php](https://reader030.fdocument.pub/reader030/viewer/2022013111/55b1ab78bb61eb370a8b4662/html5/thumbnails/4.jpg)
Al ejecutar su resultado será así
Primero se guarda
Guardar Como
Lo volvemos a guardar pero en
Datos C Wamp www nueva carpeta con nombre index.php
Para su ejecución
Escribimos localhost/ la carpeta creada
![Page 5: Variables con php](https://reader030.fdocument.pub/reader030/viewer/2022013111/55b1ab78bb61eb370a8b4662/html5/thumbnails/5.jpg)
Ahora utilizaremos las tang $ y las variables
$etiqueta1 = "variables"; $etiqueta2 = "Así aprendo";
Y podra seguir haciendo Paginas como
![Page 6: Variables con php](https://reader030.fdocument.pub/reader030/viewer/2022013111/55b1ab78bb61eb370a8b4662/html5/thumbnails/6.jpg)