Articulos PHP
- 1.4 Trabajar con números en PHP.
- 2.4 Ciclo WHILE.
- 2.8 Usar funciones para código redundante.
- 1.6 Unir comparaciones.
- 2 Enunciados if.
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.2 Introduciendo texto usando el método .text().
- 1.5 El evento keypress
- 1.8 Creando elementos con Jquery
- 1.3 Empezando a utilizar Jquery
- 2.1 El selector $(this).
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.1 Como incluir estilos en una página web.
- 1.2 Estructura de los estilos CSS.
- 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.9 Privilegios o permisos en MySQL
- 2.1 Seleccionando registros con BETWEEN y WHERE
- 1.7 Ordenar valores de forma descendente.
- 1.8 Seleccionando registros con WHERE.
- 2.6 Combinando resultados con UNION ALL.
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.5 Hacer comparaciones de valores.
Para realizar comparaciones de valores con PHP disponemos de varios sÃmbolos:
- == que significa ¿son los dos valores iguales?
- > es el primer valor mayor que el segundo valor
- >= es el primer valor mayor que o igual que el segundo valor
- < es el primer valor menor que el segundo valor
- <= es el primer valor menor o igual que el segundo valor
- != son los dos valores iguales o diferentes entre sÃ
- <> son los dos valores diferentes
Generalmente los operadores anteriores se utilizan para evaluar cierta condición y en base al resultado de esta última, se ejecuta o se ignora cierta porción del código PHP. Por ejemplo:
<?php
  If($nombreUsuario==”Raymundo”){
          echo “el usuario Raymundo ya fue localizado!!!”;
     }
?>
En el script anterior se evalúa la variable $nombreUsuario y si tiene un valor igual a “Raymundo”, entonces se imprime en la ventana del explorador el mensaje “El usuario Raymundo ya fue localizado”.
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
Hacer comparaciones de valores.
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.5



