Articulos PHP
- 2.7 Enlazar un programas con include.
- 2.1 Enunciado switch.
- 2.4 Ciclo WHILE.
- 2.5 Saliendo del ciclo con BREAK.
- 3.4 Usando extract con MySQL.
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.7 Listas desplegables con change()
- 1.4 El evento click
- 1.2 Usar CDN para utilizar Jquery
- 2.8 Valor de una lista desplegable con attr().
- 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.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
- 1.8 Seleccionando registros con WHERE.
- 3.8 Cuentas de usuario MySQL
- 2.2 Registros espec铆ficos con IN.
- 3.4 Creando una tabla con CREATE TABLE.
- 3.7 Modificar la estructura de una tabla con ALTER TAB
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



