Articulos PHP
- 2.8 Usar funciones para código redundante.
- 1.1 Variables en PHP
- 3.2 Obteniendo información de la base de datos.
- 3 PHP junto con MySQL.
- 1.8 Arreglos o array.
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.6 El método preventDefault.
- 2.4 Usando AJAX con el método .post().
- 2.5 Recorriendo el array con each().
- 1.1 Como utilizar Jquery
- 1.8 Creando elementos con 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.2 Tipos de datos en MySQL.
- 1.1 Consulta SELECT.
- 2.3 Seleccionando registros con NOT IN.
- 3 Actualizar valores con UPDATE.
- 3.5 Crear y borrar una base de datos
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 Función AVG() para obtener un promedio.
Puede suceder que una columna tenga valores numéricos y que necesitemos obtener el promedio de todos los valores numéricos, en ese caso usaremos la función AVG(). El parámetro para esta función es como sigue:
AVG(nombreColumna)
Â
Entonces supongamos que tenemos una tabla llamada ‘anuncios’ y una columna llamada ‘edadMinima’ la cual almacena un número, entonces si quisiéramos obtener el promedio de todos los valores usarÃamos la siguientes consulta:
SELECT AVG( edadMinima ) FROMÂ `anuncios`
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
Función AVG().
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