11.09.2018 Views

Aprender a desarrollar un sitio Web con PHP y MySQL

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

24/4/2014 ENI Training - Libro online<br />

A <strong>con</strong>tinuación, escriba su código HTML y <strong>PHP</strong> y guarde la página en el archivo C:\Program Files\Easy<strong>PHP</strong>-<br />

DevServer-13.1VC11\data\localweb. Su página siempre debe tener la extensión .php, salvo si se trata de<br />

<strong>un</strong>a <strong>con</strong>figuración especial del servidor <strong>Web</strong>. En el siguiente ejemplo, la página se llama test.php y<br />

<strong>con</strong>tiene el código HTML y <strong>PHP</strong> entre las etiquetas .<br />

En el siguiente ejemplo, la f<strong>un</strong>ción echo crea Hola! en HTML y el navegador recibe todo el flujo<br />

HTML de la página:<br />

<br />

<br />

<br />

Ejemplo de página <strong>PHP</strong><br />

<br />

<br />

Hola<br />

<br />

<br />

http://www.eni-training.com/client_net/mediabook.aspx?idR=87302 3/4<br />

www.FreeLibros.me

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!