Articulos PHP
- 1.2 Enunciados de salida echo.
- 1.4 Trabajar con números en PHP.
- 1.7 Enunciado exit o die.
- 3.1 Conexión MySQL con enunciado die.
- 2.3 Ciclo FOR avanzado.
Warning: Use of undefined constant php - assumed 'php' (this will throw an Error in a future version of PHP) in /home/vhosts/lawebderay.orgfree.com/articulos.php on line 128
Articulos Jquery
- 2.3 Pasando el cursor sobre un elemento.
- 1.2 Usar CDN para utilizar Jquery
- 2 Añadiendo elementos a la página con append().
- 1.8 Creando elementos con Jquery
- 1 Jquery
Warning: Use of undefined constant jquery - assumed 'jquery' (this will throw an Error in a future version of PHP) in /home/vhosts/lawebderay.orgfree.com/articulos.php on line 137
Articulos CSS
- 1.2 Estructura de los estilos CSS.
- 1.1 Como incluir estilos en una página web.
- 1 Hojas de estilo CSS.
Warning: Use of undefined constant css - assumed 'css' (this will throw an Error in a future version of PHP) in /home/vhosts/lawebderay.orgfree.com/articulos.php on line 146
Articulos Mysql
- 3.5 Crear y borrar una base de datos
- 1.3 Valor más alto de una columna.
- 2.1 Seleccionando registros con BETWEEN y WHERE
- 2.6 Combinando resultados con UNION ALL.
- 2.3 Seleccionando registros con NOT IN.
Warning: Use of undefined constant mysql - assumed 'mysql' (this will throw an Error in a future version of PHP) in /home/vhosts/lawebderay.orgfree.com/articulos.php on line 155
Warning: Use of undefined constant tema - assumed 'tema' (this will throw an Error in a future version of PHP) in /home/vhosts/lawebderay.orgfree.com/articulos.php on line 199
Warning: Use of undefined constant tema - assumed 'tema' (this will throw an Error in a future version of PHP) in /home/vhosts/lawebderay.orgfree.com/articulos.php on line 220
Warning: Use of undefined constant id - assumed 'id' (this will throw an Error in a future version of PHP) in /home/vhosts/lawebderay.orgfree.com/articulos.php on line 220
1.2 Enunciados de salida con echo.
Para poder imprimir un resultado en pantalla, o bien, para mostrar un resultado en la ventana del explorador web, es necesario imprimirlo en la pantalla y esto se hace con la instrucción echo,de esta manera, si tenemos una variable con un determinado valor y queremos que dicho valor se muestre en la ventana del explorador tendremos que hacer lo siguiente.
<?php
$colorAuto=”ROJO”;
echo $colorAuto;
?>
Como se puede observar se inicializo una variable, es decir, se creó y se le asignó un valor al mismo tiempo y posteriormente se muestra su valor usando el enunciado echo. La salida el script anterior serÃa simplemente la palabra ROJO.
Warning: Use of undefined constant tema - assumed 'tema' (this will throw an Error in a future version of PHP) in /home/vhosts/lawebderay.orgfree.com/articulos.php on line 225
Enunciados de salida echo.
Warning: Use of undefined constant id - assumed 'id' (this will throw an Error in a future version of PHP) in /home/vhosts/lawebderay.orgfree.com/articulos.php on line 225
1.2



