Articulos PHP
- 1.9 Como desplazarse dentro de un arreglo o array.
- 3 PHP junto con MySQL.
- 2.9 Fecha y Hora en PHP.
- 1.8 Arreglos o array.
- 2.8 Usar funciones para código redundante.
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.4 El evento click
- 1.9 El elemento on.
- 3.1 Callback en Jquery
- 2.6 El efecto fadeIn y fadeOut.
- 2.2 Introduciendo texto usando el método .text().
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.1 Como incluir estilos en una página web.
- 1.2 Estructura de los estilos 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
- 2.8 Conjunción externa de tablas.
- 2.5 Seleccionando filas con NOT LIKE.
- 4 Creando cuentas MySQL.
- 4.1 Eliminando privilegios de una cuenta.
- 1.7 Ordenar valores de forma descendente.
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
2.0 Seleccionar filas con las expresiones <,>, <= y >= junto con WHERE.
Para seleccionar registros o filas que tengan determinadas columnas cuyos valores sean <,>,<= o >= a otro valor, debemos usar WHERE junto con las expresiones anteriores. Supongamos que tenemos una tabla llamada usuarios y queremos ver todos los nombres de usuarios, es decir, la columna nick, donde la edad sea menor a 18, la consulta queda como sigue:
SELECT Nick FROM usuarios WHERE edad<18
Y si quisieramos los nombres de usuario de quienes la edad sea menor o igual a 18:
SELECT Nick FROM usuarios WHERE edad<=18
que la edad fuera mayor a 18:
SELECT Nick FROM usuarios WHERE edad>18
que la edad sea mayor igual a 18:
SELECT Nick FROM usuarios WHERE edad>=18
que la edad sea mayor igual a 18 y menor igual a 25:
SELECT Nick FROM usuarios WHERE edad>=18 AND edad<=25
y por ultimo que la edad sea mayor a 18 o menor a 25:
SELECT Nick FROM usuarios WHERE edad>18 OR edad<25
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
Expresiones <,>,<= y >=.
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
2



