Articulos PHP
- 1.1 Variables en PHP
- 1.2 Enunciados de salida echo.
- 2.7 Enlazar un programas con include.
- 2 Enunciados if.
- 1.3 Almacenar texto en variables
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.5 El evento keypress
- 2.1 El selector $(this).
- 2.2 Introduciendo texto usando el m茅todo .text().
- 1.1 Como utilizar Jquery
- 3.1 Callback en 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 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
- 1.6 Ordernar valores con ORDER BY.
- 3 Actualizar valores con UPDATE.
- 3.2 Tipos de datos en MySQL.
- 2.8 Conjunci贸n externa de tablas.
- 1.5 Realizar una suma con SUM()
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
3.1 Borrando una fila con DELETE.
Otra de las operaciones b谩sica a realizar en una base de datos es el borrado de una determinada fila, para ello usaremos la instrucci贸n DELETE. Dicha instrucci贸n tiene la siguiente estructura:
DELETE FROM nombreTabla WHERE condici贸n
Como se puede observar primeramente de pone el nombre de la tabla de la cual queremos borrar una determinada fila, posteriormente se incluye una condici贸n, de forma que las filas que la cumplan ser谩n borradas. Para entender un poco mejor, supongamos que tenemos una tabla llamada comentarios y que deseamos borrar las filas correspondientes al usuario llamado Rosario, entonces la consulta quedar铆a como se muestra a continuaci贸n:
DELETE FROM comments WHERE autor =聽 "rosario"
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
Borrando una fila con DELETE.
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
3.1



