Articulos PHP
- 2.1 Enunciado switch.
- 3 PHP junto con MySQL.
- 2 Enunciados if.
- 3.3 Transformando series en variables.
- 1 PHP
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
- 1.3 Empezando a utilizar Jquery
- 1.2 Usar CDN para utilizar Jquery
- 2.2 Introduciendo texto usando el método .text().
- 1.6 El método preventDefault.
- 1.5 El evento keypress
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 Hojas de estilo CSS.
- 1.2 Estructura de los estilos CSS.
- 1.1 Como incluir estilos en una página web.
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 Actualizar valores con UPDATE.
- 3.7 Modificar la estructura de una tabla con ALTER TAB
- 4.1 Eliminando privilegios de una cuenta.
- 4 Creando cuentas MySQL.
- 3.9 Privilegios o permisos en MySQL
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



